Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vlib: Punt reason allocation listener enable/disable callback
[vpp.git]
/
src
/
plugins
/
unittest
/
punt_test.c
diff --git
a/src/plugins/unittest/punt_test.c
b/src/plugins/unittest/punt_test.c
index
4a75036
..
431624f
100644
(file)
--- a/
src/plugins/unittest/punt_test.c
+++ b/
src/plugins/unittest/punt_test.c
@@
-317,9
+317,11
@@
punt_test (vlib_main_t * vm,
punt_hdl = vlib_punt_client_register ("test");
rc =
punt_hdl = vlib_punt_client_register ("test");
rc =
- vlib_punt_reason_alloc (punt_hdl, "reason-v4", &punt_reason_v4);
+ vlib_punt_reason_alloc (punt_hdl, "reason-v4",
+ NULL, NULL, &punt_reason_v4);
rc |=
rc |=
- vlib_punt_reason_alloc (punt_hdl, "reason-v6", &punt_reason_v6);
+ vlib_punt_reason_alloc (punt_hdl, "reason-v6",
+ NULL, NULL, &punt_reason_v6);
ASSERT (!rc);
vnet_feature_enable_disable ("ip4-unicast",
ASSERT (!rc);
vnet_feature_enable_disable ("ip4-unicast",