summaryrefslogtreecommitdiff
path: root/zebra/zebra_vxlan.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-07-18 09:38:12 -0400
committerGitHub <noreply@github.com>2019-07-18 09:38:12 -0400
commitfacbec892e354a60c48d0d0fcefb56304db21d69 (patch)
treee334b05b8b641792fc66357a73cc053a3c24511f /zebra/zebra_vxlan.c
parenta85de978b62c17db23fc502ddcd6bc0718e754a7 (diff)
parent07bba5ab7a096a3420a39380e6f961221cfd7231 (diff)
Merge pull request #4695 from donaldsharp/zebra_zapi_msgs
Zebra zapi msgs - improve debugs
Diffstat (limited to 'zebra/zebra_vxlan.c')
-rw-r--r--zebra/zebra_vxlan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index dff50ceef4..359585df73 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -9719,8 +9719,9 @@ void zebra_vxlan_sg_replay(ZAPI_HANDLER_ARGS)
SET_FLAG(zvrf->flags, ZEBRA_PIM_SEND_VXLAN_SG);
if (!EVPN_ENABLED(zvrf)) {
- zlog_debug("VxLAN SG replay request on unexpected vrf %d",
- zvrf->vrf->vrf_id);
+ if (IS_ZEBRA_DEBUG_VXLAN)
+ zlog_debug("VxLAN SG replay request on unexpected vrf %d",
+ zvrf->vrf->vrf_id);
return;
}