mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 23:09:34 +00:00
bgpd: Remove redundant test against ifp for DEBUG messages
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
1d0865f755
commit
253b7158ee
@ -456,7 +456,7 @@ static int bgp_interface_vrf_update(ZAPI_CALLBACK_ARGS)
|
|||||||
if (!ifp)
|
if (!ifp)
|
||||||
return 0;
|
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,
|
zlog_debug("Rx Intf VRF change VRF %u IF %s NewVRF %u", vrf_id,
|
||||||
ifp->name, new_vrf_id);
|
ifp->name, new_vrf_id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user