]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: use correct state when installing evpn macs
authorMark Stapp <mjs@voltanet.io>
Tue, 10 Dec 2019 15:10:56 +0000 (10:10 -0500)
committerMark Stapp <mjs@voltanet.io>
Tue, 10 Dec 2019 15:12:34 +0000 (10:12 -0500)
[7.2 version] 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 ffc1615fcb8cd0cf73738801e5d213b0bcc686ef..df79832d31f7e8aa0adab3f7c07497bf0a735cde 100644 (file)
@@ -2239,7 +2239,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;
 }