ip-neighbor: fix API initialization call 02/24102/2
authorMatthew Smith <mgsmith@netgate.com>
Fri, 20 Dec 2019 18:39:41 +0000 (12:39 -0600)
committerNeale Ranns <nranns@cisco.com>
Sun, 22 Dec 2019 22:54:50 +0000 (22:54 +0000)
commitc301dc33f26e752574daadbcd29a55c168c77f14
tree4ceaf61cbef3b2a4110b27e00daf44cd0ad25578
parentc4c4cf5066fbdceebd62a8819e3ecd0fc879f05d
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>
src/vnet/ip-neighbor/ip_neighbor_api.c