commit | 69abe4442bfd74976adc7371b35917cdee0d4274 | [log] [tgz] |
---|---|---|
author | Damjan Marion <damarion@cisco.com> | Mon Aug 27 22:43:23 2018 +0200 |
committer | Damjan Marion <damarion@cisco.com> | Tue Aug 28 11:11:24 2018 +0200 |
tree | 18d6f749729ab08ff293dde1cb6951dc9128b818 | |
parent | 57791ad4decd925bfe6c90f57ad628b1afbfcdac [diff] [blame] |
vlib: add 'show node' and 'set node function' CLI Change-Id: I084d7c9e34329f10b5fe45e0b157c4defe0f2811 Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vlib/node.c b/src/vlib/node.c index 805c69e..ed474eb 100644 --- a/src/vlib/node.c +++ b/src/vlib/node.c
@@ -349,6 +349,7 @@ 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);