From 3919425550dfea28a915858588a7e9fe4094ec0a Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 27 Nov 2017 01:03:25 -0800 Subject: Fix - sh ip fib mtrie sum Change-Id: I62a6ee78ee9ad73fd58a46fbdca54fd964fec113 Signed-off-by: Neale Ranns --- src/vnet/fib/ip4_fib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/vnet/fib') diff --git a/src/vnet/fib/ip4_fib.c b/src/vnet/fib/ip4_fib.c index 48dc2c6cd3b..36cf6e73629 100644 --- a/src/vnet/fib/ip4_fib.c +++ b/src/vnet/fib/ip4_fib.c @@ -555,6 +555,11 @@ ip4_show_fib (vlib_main_t * vm, vec_free(s); /* Show summary? */ + if (mtrie) + { + vlib_cli_output (vm, "%U", format_ip4_fib_mtrie, &fib->mtrie, verbose); + continue; + } if (! verbose) { vlib_cli_output (vm, "%=20s%=16s", "Prefix length", "Count"); @@ -567,11 +572,6 @@ ip4_show_fib (vlib_main_t * vm, } continue; } - if (mtrie) - { - vlib_cli_output (vm, "%U", format_ip4_fib_mtrie, &fib->mtrie); - continue; - } if (!matching) { -- cgit 1.2.3-korg