mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 23:58:44 +00:00
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>
This commit is contained in:
parent
3971e02928
commit
4bf66f436e
@ -1396,7 +1396,8 @@ void zebra_evpn_rem_macip_add(vni_t vni, const struct ethaddr *macaddr,
|
|||||||
if (ifp)
|
if (ifp)
|
||||||
zif = ifp->info;
|
zif = ifp->info;
|
||||||
if (!ifp || !if_is_operative(ifp) || !zif || !zif->brslave_info.br_if) {
|
if (!ifp || !if_is_operative(ifp) || !zif || !zif->brslave_info.br_if) {
|
||||||
zlog_warn(
|
if (IS_ZEBRA_DEBUG_VXLAN)
|
||||||
|
zlog_debug(
|
||||||
"Ignoring remote MACIP ADD VNI %u, invalid interface state or info",
|
"Ignoring remote MACIP ADD VNI %u, invalid interface state or info",
|
||||||
vni);
|
vni);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user