aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/pnat/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/pnat/tests')
-rw-r--r--src/plugins/nat/pnat/tests/pnat_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/nat/pnat/tests/pnat_test.c b/src/plugins/nat/pnat/tests/pnat_test.c
index e7d946941b9..f6579dc5ca9 100644
--- a/src/plugins/nat/pnat/tests/pnat_test.c
+++ b/src/plugins/nat/pnat/tests/pnat_test.c
@@ -569,7 +569,8 @@ int main(int argc, char **argv) {
ip_checksum_init(vm);
- u32 node_index = vlib_register_node(vm, &pnat_input_node);
+ u32 node_index =
+ vlib_register_node(vm, &pnat_input_node, "%s", pnat_input_node.name);
node = vlib_node_get_runtime(vm, node_index);
assert(node);