mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:46:08 +00:00
zebra: fix missing delete vtep during vni transition
All `vtep`s in dplane should be deleted/uninstalled during vni transition. Signed-off-by: anlan_cs <vic.lan@pica8.com>
This commit is contained in:
parent
64643ba79a
commit
2fe5a02ea4
@ -2115,7 +2115,7 @@ static int zebra_vxlan_handle_vni_transition(struct zebra_vrf *zvrf, vni_t vni,
|
||||
zebra_evpn_mac_del_all(zevpn, 0, 0, DEL_ALL_MAC);
|
||||
|
||||
/* Free up all remote VTEPs, if any. */
|
||||
zebra_evpn_vtep_del_all(zevpn, 0);
|
||||
zebra_evpn_vtep_del_all(zevpn, 1);
|
||||
|
||||
/* Delete the hash entry. */
|
||||
if (zebra_evpn_vxlan_del(zevpn)) {
|
||||
|
Loading…
Reference in New Issue
Block a user