]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: use correct state when installing evpn macs 5517/head
authorMark Stapp <mjs@voltanet.io>
Thu, 5 Dec 2019 19:27:17 +0000 (14:27 -0500)
committerMark Stapp <mjs@voltanet.io>
Thu, 5 Dec 2019 19:27:17 +0000 (14:27 -0500)
Use correct state/flags when installing EVPN macs; when we
converted from raw netlink to the zebra dataplane, a state value
got lost.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_dplane.c

index ca72ea5227cd556882659dc8d6ce3b0cbd00a43e..417c206467b1a79aeebd859e3aac5c5c8a72122e 100644 (file)
@@ -2508,7 +2508,7 @@ enum zebra_dplane_result dplane_neigh_add(const struct interface *ifp,
        enum zebra_dplane_result result = ZEBRA_DPLANE_REQUEST_FAILURE;
 
        result = neigh_update_internal(DPLANE_OP_NEIGH_INSTALL,
-                                      ifp, mac, ip, flags, 0);
+                                      ifp, mac, ip, flags, DPLANE_NUD_NOARP);
 
        return result;
 }