diff options
| author | Mark Stapp <mjs@cisco.com> | 2024-11-13 13:49:28 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@cisco.com> | 2024-11-13 13:49:28 -0500 |
| commit | aee85f7c6ab130ce5266e54078d28593619cd09b (patch) | |
| tree | f2e81f8c907986c18f04832b7aa80348c22345c8 /zebra/zebra_evpn.c | |
| parent | 5456bc5d9313b53b8059583cba7c95f55f08a26b (diff) | |
zebra: fix unguarded debug in evpn code
Guard a debug in the evpn code.
Signed-off-by: Mark Stapp <mjs@cisco.com>
Diffstat (limited to 'zebra/zebra_evpn.c')
| -rw-r--r-- | zebra/zebra_evpn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c index 0ad42ebd5b..585c926d09 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; } |
