diff options
Diffstat (limited to 'src/plugins/tracedump')
-rw-r--r-- | src/plugins/tracedump/graph_cli.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/tracedump/graph_cli.c b/src/plugins/tracedump/graph_cli.c index 2440295a1a7..2de191b2348 100644 --- a/src/plugins/tracedump/graph_cli.c +++ b/src/plugins/tracedump/graph_cli.c @@ -75,9 +75,9 @@ graph_node_show_cmd (vlib_main_t * vm, while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT) { if (unformat (input, "node %d", &index)) - n = vlib_get_node (vm, index); - else if (unformat (input, "node %v", &name)) - n = vlib_get_node_by_name (vm, name); + n = vlib_get_node (vm, index); + else if (unformat (input, "node %s", &name)) + n = vlib_get_node_by_name (vm, name); else if (unformat (input, "want_arcs")) want_arcs = true; |