Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c4c4cf5
)
ip-neighbor: fix API initialization call
02/24102/2
author
Matthew Smith
<mgsmith@netgate.com>
Fri, 20 Dec 2019 18:39:41 +0000
(12:39 -0600)
committer
Neale Ranns
<nranns@cisco.com>
Sun, 22 Dec 2019 22:54:50 +0000
(22:54 +0000)
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
patch
|
blob
|
history
diff --git
a/src/vnet/ip-neighbor/ip_neighbor_api.c
b/src/vnet/ip-neighbor/ip_neighbor_api.c
index
b066423
..
f626577
100644
(file)
--- 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