Merge pull request #17426 from mjstapp/fix_z_evpn_debug

zebra: fix unguarded debug in evpn code
This commit is contained in:
Donatas Abraitis 2024-11-14 09:06:57 +02:00 committed by GitHub
commit f2f6d1ce0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}