summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_path_list.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2020-02-04 16:45:09 +0100
committerNeale Ranns <nranns@cisco.com>2020-02-07 17:57:18 +0000
commit84382ae45c2cf694ef7faf4a87d60c1546869301 (patch)
tree314538c1de6fb4340a5893a7304305832b13f148 /src/vnet/fib/fib_path_list.c
parent6e6ad64a4cc97f9f777891c0349bbb129ab03013 (diff)
fib: fix non-NULL terminated vectors in cli output
Type: fix Change-Id: Idbb3f29b13a5c84a8585c4299e51fdfc35f7e1ad Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/fib/fib_path_list.c')
-rw-r--r--src/vnet/fib/fib_path_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_path_list.c b/src/vnet/fib/fib_path_list.c
index 07d54f4d4d6..2ad7c30e50a 100644
--- a/src/vnet/fib/fib_path_list.c
+++ b/src/vnet/fib/fib_path_list.c
@@ -1460,7 +1460,7 @@ show_fib_path_list_command (vlib_main_t * vm,
u8 *s = fib_path_list_format(pli, NULL);
s = format(s, "children:");
s = fib_node_children_format(path_list->fpl_node.fn_children, s);
- vlib_cli_output (vm, "%s", s);
+ vlib_cli_output (vm, "%v", s);
vec_free(s);
}
else