diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index 521f969fcc..3c4dbc5e9c 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -152,7 +152,7 @@ struct rnh *zebra_add_rnh(struct prefix *p, vrf_id_t vrfid, enum rnh_type type, flog_warn(EC_ZEBRA_RNH_NO_TABLE, "%s(%u): Add RNH %pFX type %s - table not found", VRF_LOGNAME(vrf), vrfid, p, rnh_type2str(type)); - exists = false; + *exists = false; return NULL; }