From 07cc1745ff0db626e7e9adc8d18c2372de62a23d Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Thu, 29 Aug 2019 11:42:52 -0400 Subject: zebra: Add bsd nexthop install boilerplate 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 --- zebra/rt_socket.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'zebra/rt_socket.c') diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 981ef7a88..73b3dd0b4 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -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) { -- cgit v1.2.3