aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip-neighbor/ip_neighbor_api.c
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2019-12-20 12:39:41 -0600
committerNeale Ranns <nranns@cisco.com>2019-12-22 22:54:50 +0000
commitc301dc33f26e752574daadbcd29a55c168c77f14 (patch)
tree4ceaf61cbef3b2a4110b27e00daf44cd0ad25578 /src/vnet/ip-neighbor/ip_neighbor_api.c
parentc4c4cf5066fbdceebd62a8819e3ecd0fc879f05d (diff)
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>
Diffstat (limited to 'src/vnet/ip-neighbor/ip_neighbor_api.c')
-rw-r--r--src/vnet/ip-neighbor/ip_neighbor_api.c2
1 files changed, 1 insertions, 1 deletions
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