summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index fc34a6fb9e..6373b4b200 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -241,6 +241,7 @@ static int if_zebra_delete_hook(struct interface *ifp)
#endif /* HAVE_RTADV */
zebra_evpn_if_cleanup(zebra_if);
+ zebra_evpn_mac_ifp_del(ifp);
if_nhg_dependents_release(ifp);
zebra_if_nhg_dependents_free(zebra_if);
@@ -826,6 +827,7 @@ void if_delete_update(struct interface *ifp)
memset(&zif->brslave_info, 0,
sizeof(struct zebra_l2info_brslave));
zebra_evpn_if_cleanup(zif);
+ zebra_evpn_mac_ifp_del(ifp);
}
if (!ifp->configured) {
@@ -1183,6 +1185,11 @@ void zebra_if_update_all_links(void)
zif->link?zif->link->name:"unk",
zif->link_ifindex);
}
+
+ /* Update VLAN<=>SVI map */
+ if (IS_ZEBRA_IF_VLAN(ifp))
+ zebra_evpn_acc_bd_svi_set(zif, NULL,
+ !!if_is_operative(ifp));
}
}
@@ -1599,6 +1606,9 @@ static void if_dump_vty(struct vty *vty, struct interface *ifp)
}
}
+ if (zebra_if->flags & ZIF_FLAG_LACP_BYPASS)
+ vty_out(vty, " LACP bypass: on\n");
+
zebra_evpn_if_es_print(vty, zebra_if);
vty_out(vty, " protodown: %s %s\n",
(zebra_if->flags & ZIF_FLAG_PROTODOWN) ? "on" : "off",