mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +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
|
else
|
||||||
has_valid_label = bgp_is_valid_label(label);
|
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
|
/* The flag BGP_NODE_FIB_INSTALL_PENDING is for the following
|
||||||
* condition :
|
* condition :
|
||||||
* Suppress fib is enabled
|
* Suppress fib is enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user