diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c index 0ad42ebd5b0d..585c926d099c 100644 --- a/zebra/zebra_evpn.c +++ b/zebra/zebra_evpn.c @@ -748,7 +748,8 @@ struct zebra_evpn *zebra_evpn_from_svi(struct interface *ifp, /* Make sure the linked interface is a bridge. */ if (!IS_ZEBRA_IF_BRIDGE(br_if)) { - zlog_debug("%s: br_if NOT a bridge", __func__); + if (IS_ZEBRA_DEBUG_VXLAN) + zlog_debug("%s: br_if NOT a bridge", __func__); return NULL; }