From 34c9b28ba8af49749864bdafb36db41519249c5b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 30 Nov 2020 19:37:53 -0500 Subject: [PATCH] zebra: Reduce warn -> debug During times of network trauma and when we are at large network scale the process_remote_macip_add function can issue a zlog_warn for a common occurrence. Modify the code to be a debug statement. This behavior is the same now as the process_remote_macip_del function Signed-off-by: Donald Sharp --- zebra/zebra_evpn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c index 6722af117c..67df841b21 100644 --- a/zebra/zebra_evpn.c +++ b/zebra/zebra_evpn.c @@ -1364,7 +1364,8 @@ void process_remote_macip_add(vni_t vni, struct ethaddr *macaddr, /* Locate EVPN hash entry - expected to exist. */ zevpn = zebra_evpn_lookup(vni); if (!zevpn) { - zlog_warn("Unknown VNI %u upon remote MACIP ADD", vni); + if (IS_ZEBRA_DEBUG_VXLAN) + zlog_debug("Unknown VNI %u upon remote MACIP ADD", vni); return; } -- 2.39.5