Merge pull request #11454 from routingrocks/evpn_clag_frrlogs

Zebra EVPN Debug: Fixing log flooding when disabling MLAG leaf config…
This commit is contained in:
mobash-rasool 2022-06-28 17:32:10 +05:30 committed by GitHub
commit d841284b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}