Merge pull request #7106 from AnuradhaKaruppiah/dad-mh-fix

zebra: dup detected mac avoid update to bgpd
This commit is contained in:
Rafael Zalamena 2020-09-16 09:31:00 -03:00 committed by GitHub
commit e20c2ae2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2060,6 +2060,7 @@ int zebra_evpn_add_update_local_mac(struct zebra_vrf *zvrf, zebra_evpn_t *zevpn,
if (is_dup_detect) { if (is_dup_detect) {
inform_client = false; inform_client = false;
upd_neigh = false; upd_neigh = false;
es_change = false;
} }
} }
} }
@ -2092,7 +2093,8 @@ int zebra_evpn_add_update_local_mac(struct zebra_vrf *zvrf, zebra_evpn_t *zevpn,
mac->es ? mac->es->esi_str : "", mac->loc_seq, mac->es ? mac->es->esi_str : "", mac->loc_seq,
mac->flags, mac->flags,
local_inactive ? " local-inactive" : ""); local_inactive ? " local-inactive" : "");
inform_client = true; if (!is_dup_detect)
inform_client = true;
} }
if (es_change) { if (es_change) {