From: Igor Ryzhov Date: Wed, 18 Nov 2020 16:05:30 +0000 (+0300) Subject: zebra: fix writing to pointer instead of value X-Git-Tag: frr-7.5.1~29^2~15 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3be6a47a1800fb965fbe03639e2c70767d35af6d;p=mirror%2Ffrr.git zebra: fix writing to pointer instead of value Signed-off-by: Igor Ryzhov --- diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index cdc00f6026..db4199a85d 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -167,7 +167,7 @@ struct rnh *zebra_add_rnh(struct prefix *p, vrf_id_t vrfid, enum rnh_type type, flog_warn(EC_ZEBRA_RNH_NO_TABLE, "%u: Add RNH %s type %s - table not found", vrfid, buf, rnh_type2str(type)); - exists = false; + *exists = false; return NULL; }