ip-neighbor: fix API initialization call
Type: fix
Fixes: cbe25aab3b
Wrap ip_neighbor_api_init() in VLIB_API_INIT_FUNCTION() macro
instead of VLIB_INIT_FUNCTION() so API message IDs get allocated.
Change-Id: Id0c36c16b982feb9d7442015f9ddf2449a9e5b60
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
diff --git a/src/vnet/ip-neighbor/ip_neighbor_api.c b/src/vnet/ip-neighbor/ip_neighbor_api.c
index b066423..f626577 100644
--- a/src/vnet/ip-neighbor/ip_neighbor_api.c
+++ b/src/vnet/ip-neighbor/ip_neighbor_api.c
@@ -287,7 +287,7 @@
return 0;
}
-VLIB_INIT_FUNCTION (ip_neighbor_api_init);
+VLIB_API_INIT_FUNCTION (ip_neighbor_api_init);
/*
* fd.io coding-style-patch-verification: ON