summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-11-14 21:59:36 +0100
committerDonald Sharp <sharpd@nvidia.com>2024-11-14 22:03:14 +0100
commit922489a8d6d26f12e2ff18ba2c9e0866836768a3 (patch)
tree968b37703dcc3fd321cf5a3ed4d6374f87447668 /zebra
parentMerge pull request #17422 from opensourcerouting/fix/coverity_bgp_color (diff)
downloadfrr-922489a8d6d26f12e2ff18ba2c9e0866836768a3.tar.xz
frr-922489a8d6d26f12e2ff18ba2c9e0866836768a3.zip
zebra: Missed debug guard in zebra_evpn.c
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_evpn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c
index 585c926d0..25c616c4c 100644
--- a/zebra/zebra_evpn.c
+++ b/zebra/zebra_evpn.c
@@ -1286,8 +1286,9 @@ int zebra_evpn_vtep_install(struct zebra_evpn *zevpn, struct zebra_vtep *zvtep)
int zebra_evpn_vtep_uninstall(struct zebra_evpn *zevpn, struct in_addr *vtep_ip)
{
if (!zevpn->vxlan_if) {
- zlog_debug("VNI %u hash %p couldn't be uninstalled - no intf",
- zevpn->vni, zevpn);
+ if (IS_ZEBRA_DEBUG_VXLAN)
+ zlog_debug("VNI %u hash %p couldn't be uninstalled - no intf",
+ zevpn->vni, zevpn);
return -1;
}