From 253b7158ee2d216a1a222fae48ef78a2b47c108c Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 30 Aug 2022 11:35:05 +0300 Subject: [PATCH] bgpd: Remove redundant test against ifp for DEBUG messages Signed-off-by: Donatas Abraitis --- bgpd/bgp_zebra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 077785b55a..85e25b88a4 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -456,7 +456,7 @@ static int bgp_interface_vrf_update(ZAPI_CALLBACK_ARGS) if (!ifp) return 0; - if (BGP_DEBUG(zebra, ZEBRA) && ifp) + if (BGP_DEBUG(zebra, ZEBRA)) zlog_debug("Rx Intf VRF change VRF %u IF %s NewVRF %u", vrf_id, ifp->name, new_vrf_id); -- 2.39.5