Skip to content

Commit

Permalink
zebra: fix unguarded debug in evpn code
Browse files Browse the repository at this point in the history
Guard a debug in the evpn code.

Signed-off-by: Mark Stapp <[email protected]>
  • Loading branch information
Mark Stapp committed Nov 13, 2024
1 parent 5456bc5 commit aee85f7
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 aee85f7

Please sign in to comment.