From 99b96398452ac13114d54f47a163dc06f7c23f12 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Mon, 16 May 2022 10:44:32 +0200 Subject: ip: format table ids with %u Type: fix Change-Id: I69f7e23b23e8cfcfe57ba019862470e0eb4b06db Signed-off-by: Nathan Skrzypczak --- src/vnet/ip/lookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet') diff --git a/src/vnet/ip/lookup.c b/src/vnet/ip/lookup.c index 4da20df57a0..26bdaa635aa 100644 --- a/src/vnet/ip/lookup.c +++ b/src/vnet/ip/lookup.c @@ -502,13 +502,13 @@ vnet_show_ip_table_cmd (vlib_main_t *vm, unformat_input_t *main_input, } fib = fib_table_get (fib_index, fproto); - vlib_cli_output (vm, "[%3u] table_id:%3u %v", fib->ft_index, + vlib_cli_output (vm, "[%u] table_id:%u %v", fib->ft_index, fib->ft_table_id, fib->ft_desc); } else { pool_foreach (fib, fibs) - vlib_cli_output (vm, "[%3u] table_id:%3u %v", fib->ft_index, + vlib_cli_output (vm, "[%u] table_id:%u %v", fib->ft_index, fib->ft_table_id, fib->ft_desc); } -- cgit 1.2.3-korg