classify: debug cli %v not %s 98/23698/2
authorDave Barach <dave@barachs.net>
Fri, 29 Nov 2019 13:40:58 +0000 (08:40 -0500)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 2 Dec 2019 15:16:12 +0000 (15:16 +0000)
Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I294f0b773375f6dce020b771db0726ceb5d812cc
(cherry picked from commit 3268a64d3c9e60d69b3b12d6c6bf1987394275d2)

src/vnet/classify/vnet_classify.c

index fb61401..938f583 100755 (executable)
@@ -2001,7 +2001,7 @@ show_classify_filter_command_fn (vlib_main_t * vm,
                s = format (s, " none");
            }
 
-         vlib_cli_output (vm, "%-30s table(s)%s", name, s);
+         vlib_cli_output (vm, "%-30v table(s)%v", name, s);
          vec_reset_length (s);
        }
       else
@@ -2014,7 +2014,7 @@ show_classify_filter_command_fn (vlib_main_t * vm,
          else
            s = format (s, " none");
 
-         vlib_cli_output (vm, "%-30s first table%s", name, s);
+         vlib_cli_output (vm, "%-30v first table%v", name, s);
          vec_reset_length (s);
        }
       vec_reset_length (name);