mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:27:50 +00:00
bgpd: fix SA warning
Fix a coverity warning about an obscure path involving labels. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
a6aa46cc1e
commit
28f66de2ed
@ -3538,6 +3538,9 @@ int bgp_update(struct peer *peer, const struct prefix *p, uint32_t addpath_id,
|
||||
else
|
||||
has_valid_label = bgp_is_valid_label(label);
|
||||
|
||||
if (has_valid_label)
|
||||
assert(label != NULL);
|
||||
|
||||
/* The flag BGP_NODE_FIB_INSTALL_PENDING is for the following
|
||||
* condition :
|
||||
* Suppress fib is enabled
|
||||
|
Loading…
Reference in New Issue
Block a user