summaryrefslogtreecommitdiff
path: root/zebra/zebra_vxlan.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2024-11-20 09:15:24 -0800
committerChirag Shah <chirag@nvidia.com>2024-11-25 09:00:03 -0800
commit866148ef1b1931f5385c6452344540fc61366a6c (patch)
treedf469019fc298cb33002dbf3687d990133e662fd /zebra/zebra_vxlan.c
parent97538158ba0b073febebea1439dceae2947a7e0c (diff)
zebra: add debug in remote vtep install ifp not up
Ticket: #4139506 Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'zebra/zebra_vxlan.c')
-rw-r--r--zebra/zebra_vxlan.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index 9e2c138e21..0658f996e6 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -4755,8 +4755,14 @@ void zebra_vxlan_remote_vtep_add(vrf_id_t vrf_id, vni_t vni,
zif = ifp->info;
/* 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)
+ zlog_debug(
+ "%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), !zif->brslave_info.br_if);
return;
+ }
zvtep = zebra_evpn_vtep_find(zevpn, &vtep_ip);
if (zvtep) {