diff options
| author | rvaratharaj <rvaratharaj@nvidia.com> | 2022-06-21 18:07:08 -0700 |
|---|---|---|
| committer | rvaratharaj <rvaratharaj@nvidia.com> | 2022-06-21 18:18:14 -0700 |
| commit | 4bf66f436e3530df75102a665c7898e2b92cea6f (patch) | |
| tree | 757a034ed4e5fb5d5f347dd7a3f31b8769677930 /zebra/zebra_evpn.c | |
| parent | 3971e0292844d5133690e29292a36b13999a1e04 (diff) | |
Zebra EVPN Debug: Fixing log flooding when disabling MLAG leaf configuration
When disabling MLAG leaf configuration with EVPN, logs are
getting flooded for each VNI, This is the result of each Type-2
packets. Ideally, this should be under log debugging, not a warning.
Testing: UT
Signed-off-by: Rajesh Varatharaj <rvaratharaj@nvidia.com>
Diffstat (limited to 'zebra/zebra_evpn.c')
| -rw-r--r-- | zebra/zebra_evpn.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c index f2ad98c97b..168f0b2ce6 100644 --- a/zebra/zebra_evpn.c +++ b/zebra/zebra_evpn.c @@ -1396,9 +1396,10 @@ void zebra_evpn_rem_macip_add(vni_t vni, const struct ethaddr *macaddr, if (ifp) zif = ifp->info; if (!ifp || !if_is_operative(ifp) || !zif || !zif->brslave_info.br_if) { - zlog_warn( - "Ignoring remote MACIP ADD VNI %u, invalid interface state or info", - vni); + if (IS_ZEBRA_DEBUG_VXLAN) + zlog_debug( + "Ignoring remote MACIP ADD VNI %u, invalid interface state or info", + vni); return; } |
