summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/lookup.c
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2022-05-16 10:44:32 +0200
committerNathan Skrzypczak <nathan.skrzypczak@gmail.com>2022-05-16 10:44:45 +0200
commit99b96398452ac13114d54f47a163dc06f7c23f12 (patch)
tree3ae6e96ffed592a597ff7af814a696dcae1dce90 /src/vnet/ip/lookup.c
parent3153f007c0b5954faf880e6404bebf7f0b7777bb (diff)
ip: format table ids with %u
Type: fix Change-Id: I69f7e23b23e8cfcfe57ba019862470e0eb4b06db Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/ip/lookup.c')
-rw-r--r--src/vnet/ip/lookup.c4
1 files changed, 2 insertions, 2 deletions
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);
}