From c301dc33f26e752574daadbcd29a55c168c77f14 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Fri, 20 Dec 2019 12:39:41 -0600 Subject: 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 --- src/vnet/ip-neighbor/ip_neighbor_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vnet/ip-neighbor/ip_neighbor_api.c b/src/vnet/ip-neighbor/ip_neighbor_api.c index b066423afe5..f626577ef0e 100644 --- a/src/vnet/ip-neighbor/ip_neighbor_api.c +++ b/src/vnet/ip-neighbor/ip_neighbor_api.c @@ -287,7 +287,7 @@ ip_neighbor_api_init (vlib_main_t * vm) return 0; } -VLIB_INIT_FUNCTION (ip_neighbor_api_init); +VLIB_API_INIT_FUNCTION (ip_neighbor_api_init); /* * fd.io coding-style-patch-verification: ON -- cgit 1.2.3-korg