]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: Add bsd nexthop install boilerplate
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 29 Aug 2019 15:42:52 +0000 (11:42 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:43 +0000 (11:13 -0400)
Add some boilerplate for nexthop installation for bsd kernels.
They do not support nexthop objects for now so its just boilerplate.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/rt_socket.c

index 981ef7a889fdfaee8ca33eb20e90bc5a79c185a1..73b3dd0b406fae148dc03a1c93cd97b9120acc4b 100644 (file)
@@ -364,6 +364,11 @@ enum zebra_dplane_result kernel_route_update(struct zebra_dplane_ctx *ctx)
        return res;
 }
 
+enum zebra_dplane_result kernel_nexthop_update(struct zebra_dplane_ctx *ctx)
+{
+       return ZEBRA_DPLANE_REQUEST_SUCCESS;
+}
+
 int kernel_neigh_update(int add, int ifindex, uint32_t addr, char *lla,
                        int llalen, ns_id_t ns_id)
 {