diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-30 11:35:05 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-30 11:35:05 +0300 |
| commit | 253b7158ee2d216a1a222fae48ef78a2b47c108c (patch) | |
| tree | f042cfc215f35f84f16eff50dc183dba6316adb0 | |
| parent | 1d0865f7556dacded425c3b8069aad0ef6fac38e (diff) | |
bgpd: Remove redundant test against ifp for DEBUG messages
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
| -rw-r--r-- | bgpd/bgp_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
