From dd8a272e9fda20e034e508485282be14a5880b35 Mon Sep 17 00:00:00 2001 From: Rajith P R Date: Sat, 12 Feb 2022 12:15:23 +0530 Subject: fib: fix incorrect display of mpls fib_index Type: fix Signed-off-by: Rajith P R Change-Id: I8c9c85081c27bfe7ee71b5b620a2a761e027789c --- src/vnet/fib/mpls_fib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/fib/mpls_fib.c') diff --git a/src/vnet/fib/mpls_fib.c b/src/vnet/fib/mpls_fib.c index 34369fc000e..5dcd70b4c53 100644 --- a/src/vnet/fib/mpls_fib.c +++ b/src/vnet/fib/mpls_fib.c @@ -451,7 +451,7 @@ mpls_fib_show (vlib_main_t * vm, continue; s = format (s, "%v, fib_index:%d locks:[", - fib_table->ft_desc, mpls_main.fibs - fib_table); + fib_table->ft_desc, fib_table - mpls_main.fibs); vec_foreach_index(source, fib_table->ft_locks) { if (0 != fib_table->ft_locks[source]) -- cgit 1.2.3-korg