Skip to content

Commit

Permalink
Merge pull request #17426 from mjstapp/fix_z_evpn_debug
Browse files Browse the repository at this point in the history
zebra: fix unguarded debug in evpn code
  • Loading branch information
ton31337 authored Nov 14, 2024
2 parents ced2658 + aee85f7 commit f2f6d1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zebra/zebra_evpn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f2f6d1c

Please sign in to comment.