mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:22:32 +00:00
zebra: EVPN fix code style in vlan vni map debugs
Fix up couple of style issues missed in PR 17483 Signed-off-by: Chirag Shah <chirag@nvidia.com>
This commit is contained in:
parent
bcf6e53314
commit
887a0840f6
@ -4757,10 +4757,9 @@ void zebra_vxlan_remote_vtep_add(vrf_id_t vrf_id, vni_t vni,
|
|||||||
/* If down or not mapped to a bridge, we're done. */
|
/* If down or not mapped to a bridge, we're done. */
|
||||||
if (!if_is_operative(ifp) || !zif->brslave_info.br_if) {
|
if (!if_is_operative(ifp) || !zif->brslave_info.br_if) {
|
||||||
if (IS_ZEBRA_DEBUG_KERNEL)
|
if (IS_ZEBRA_DEBUG_KERNEL)
|
||||||
zlog_debug(
|
zlog_debug("%s VNI %u VTEP %pI4 ifp %s oper %u br_if %u skipping update",
|
||||||
"%s VNI %u VTEP %pI4 ifp %s oper %u br_if %u skipping update",
|
__func__, zevpn->vni, &vtep_ip, ifp->name, if_is_operative(ifp),
|
||||||
__func__, zevpn->vni, &vtep_ip, ifp->name,
|
!zif->brslave_info.br_if);
|
||||||
if_is_operative(ifp), !zif->brslave_info.br_if);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1037,7 +1037,7 @@ int zebra_vxlan_if_vni_up(struct interface *ifp, struct zebra_vxlan_vni *vnip)
|
|||||||
} else {
|
} else {
|
||||||
if (IS_ZEBRA_DEBUG_KERNEL || IS_ZEBRA_DEBUG_VXLAN)
|
if (IS_ZEBRA_DEBUG_KERNEL || IS_ZEBRA_DEBUG_VXLAN)
|
||||||
zlog_debug("%s VNI %u vxlan_if %s oper down skipping vni up to client",
|
zlog_debug("%s VNI %u vxlan_if %s oper down skipping vni up to client",
|
||||||
__func__, zevpn->vni, zevpn->vxlan_if->name);
|
__func__, zevpn->vni, zevpn->vxlan_if->name);
|
||||||
}
|
}
|
||||||
zebra_evpn_read_mac_neigh(zevpn, ifp);
|
zebra_evpn_read_mac_neigh(zevpn, ifp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user