From 6e51ce3c0b2860ad0522a091e0f436c52d7101a8 Mon Sep 17 00:00:00 2001 From: Anuradha Karuppiah Date: Mon, 11 May 2020 19:10:13 -0700 Subject: [PATCH] zebra: fixup a neigh del bug introduced by a previous commit for MAC-IP sync Problem commit - [ b169fd6fd59ed zebra: support for MAC-IP sync routes ] That commit had accidentally replaced a mac-ip del to bgp with a mac del (consequence of a bad cut-paste). Signed-off-by: Anuradha Karuppiah (cherry picked from commit fb8f609d486f132c7fab41d6bb67372d829137aa) --- zebra/zebra_evpn_neigh.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zebra/zebra_evpn_neigh.c b/zebra/zebra_evpn_neigh.c index 492052b1b2..661d1c7f81 100644 --- a/zebra/zebra_evpn_neigh.c +++ b/zebra/zebra_evpn_neigh.c @@ -2184,9 +2184,10 @@ void process_neigh_remote_macip_add(zebra_evpn_t *zevpn, struct zebra_vrf *zvrf, seq, n->flags); zebra_evpn_neigh_clear_sync_info(n); if (IS_ZEBRA_NEIGH_ACTIVE(n)) - zebra_evpn_mac_send_del_to_client( - zevpn->vni, &mac->macaddr, - mac->flags, false /*force*/); + zebra_evpn_neigh_send_del_to_client( + zevpn->vni, &n->ip, &n->emac, + n->flags, n->state, + false /*force*/); } if (memcmp(&n->emac, &mac->macaddr, sizeof(struct ethaddr)) -- 2.39.5