diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-02-04 16:45:09 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-02-07 17:57:18 +0000 |
commit | 84382ae45c2cf694ef7faf4a87d60c1546869301 (patch) | |
tree | 314538c1de6fb4340a5893a7304305832b13f148 /src/vnet/fib/fib_path.c | |
parent | 6e6ad64a4cc97f9f777891c0349bbb129ab03013 (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.c')
-rw-r--r-- | src/vnet/fib/fib_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_path.c b/src/vnet/fib/fib_path.c index a6404805eb6..f8950fa5a49 100644 --- a/src/vnet/fib/fib_path.c +++ b/src/vnet/fib/fib_path.c @@ -2819,7 +2819,7 @@ show_fib_path_command (vlib_main_t * vm, FIB_PATH_FORMAT_FLAGS_NONE); s = format(s, "\n children:"); s = fib_node_children_format(path->fp_node.fn_children, s); - vlib_cli_output (vm, "%s", s); + vlib_cli_output (vm, "%v", s); vec_free(s); } else |