mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 10:08:41 +00:00
bgpd: null check (Clang scan-build)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
6389e663e9
commit
cc35bc7c8f
@ -471,7 +471,7 @@ void bgp_info_mpath_update(struct bgp_node *rn, struct bgp_info *new_best,
|
|||||||
zlog_debug(
|
zlog_debug(
|
||||||
"%s: starting mpath update, newbest %s num candidates %d old-mpath-count %d",
|
"%s: starting mpath update, newbest %s num candidates %d old-mpath-count %d",
|
||||||
pfx_buf, new_best ? new_best->peer->host : "NONE",
|
pfx_buf, new_best ? new_best->peer->host : "NONE",
|
||||||
listcount(mp_list), old_mpath_count);
|
mp_list ? listcount(mp_list) : 0, old_mpath_count);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We perform an ordered walk through both lists in parallel.
|
* We perform an ordered walk through both lists in parallel.
|
||||||
|
Loading…
Reference in New Issue
Block a user