]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: fixup a neigh del bug introduced by a previous commit for MAC-IP sync 7117/head
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 12 May 2020 02:10:13 +0000 (19:10 -0700)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Thu, 17 Sep 2020 00:32:33 +0000 (17:32 -0700)
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 <anuradhak@cumulusnetworks.com>
zebra/zebra_evpn_neigh.c

index 492052b1b24d3eb9c68a4df10afa7139a38d7a41..661d1c7f81c8b6dfeb5d9e6494c62c860391e69d 100644 (file)
@@ -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))