mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 16:55:56 +00:00
zebra: fix writing to pointer instead of value
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
b83bb9aa62
commit
b0efbc16e4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user