From: Donald Sharp Date: Fri, 8 Jan 2021 00:03:54 +0000 (-0500) Subject: bgpd: Combine two subsuquent if (debug..) statements X-Git-Tag: base_7.6~81^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=696ad9ef0e8f1e9978fd50024fdb438c7a4a0957;p=matthieu%2Ffrr.git bgpd: Combine two subsuquent if (debug..) statements Signed-off-by: Donald Sharp --- diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 5d663027b6..0e0dc82313 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -1489,9 +1489,7 @@ void bgp_zebra_announce(struct bgp_dest *dest, const struct prefix *p, api_nh->vrf_id, api_nh->weight, label_buf, eth_buf); } - } - if (bgp_debug_zebra(p)) { int recursion_flag = 0; if (CHECK_FLAG(api.flags, ZEBRA_FLAG_ALLOW_RECURSION))