aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/node_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/node_cli.c')
-rw-r--r--src/vlib/node_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/node_cli.c b/src/vlib/node_cli.c
index 0738bc959ce..750f69e5d60 100644
--- a/src/vlib/node_cli.c
+++ b/src/vlib/node_cli.c
@@ -727,7 +727,7 @@ set_node_fn(vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd
goto done;
}
- if (!unformat (line_input, "%s", &variant))
+ if (!unformat (line_input, "%U", unformat_vlib_node_variant, &variant))
{
err = clib_error_return (0, "please specify node functional variant");
goto done;