summaryrefslogtreecommitdiffstats
path: root/src/vlib/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/node.c')
-rw-r--r--src/vlib/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/node.c b/src/vlib/node.c
index 805c69e4f8b..ed474eb5311 100644
--- a/src/vlib/node.c
+++ b/src/vlib/node.c
@@ -349,6 +349,7 @@ register_node (vlib_main_t * vm, vlib_node_registration_t * r)
n = clib_mem_alloc_no_fail (sizeof (n[0]));
memset (n, 0, sizeof (n[0]));
n->index = vec_len (nm->nodes);
+ n->node_fn_registrations = r->node_fn_registrations;
vec_add1 (nm->nodes, n);