diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-05-16 09:18:26 -0400 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2022-05-16 09:30:28 -0400 |
| commit | 2fe5a02ea4dd892eee6566cb1f91fd5b179ade5d (patch) | |
| tree | 2e4aea94ff50b2f1ca57568caee11b077f56d4dc /zebra/zebra_vxlan.c | |
| parent | 64643ba79ae2e4d853b3c2c6a74916a560c53538 (diff) | |
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>
Diffstat (limited to 'zebra/zebra_vxlan.c')
| -rw-r--r-- | zebra/zebra_vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index c5d3b8c8dc..e21a64b459 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -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)) { |
