mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 08:32:12 +00:00
Merge pull request #14766 from cscarpitta/fix/fix-missing-debug-guard
bgpd: Add missing guard for `zlog_debug`
This commit is contained in:
commit
07b99d6b73
@ -73,9 +73,10 @@ static inline bool bgp_install_info_to_zebra(struct bgp *bgp)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!IS_BGP_INST_KNOWN_TO_ZEBRA(bgp)) {
|
if (!IS_BGP_INST_KNOWN_TO_ZEBRA(bgp)) {
|
||||||
zlog_debug(
|
if (BGP_DEBUG(zebra, ZEBRA))
|
||||||
"%s: No zebra instance to talk to, not installing information",
|
zlog_debug(
|
||||||
__func__);
|
"%s: No zebra instance to talk to, not installing information",
|
||||||
|
__func__);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user