diff options
Diffstat (limited to 'vnet/vnet/adj/adj.c')
-rw-r--r-- | vnet/vnet/adj/adj.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vnet/vnet/adj/adj.c b/vnet/vnet/adj/adj.c index 0bdecc6affe..24f7662d943 100644 --- a/vnet/vnet/adj/adj.c +++ b/vnet/vnet/adj/adj.c @@ -387,8 +387,11 @@ adj_show (vlib_main_t * vm, pool_foreach_index(ai, adj_pool, ({ if (~0 != sw_if_index && - sw_if_index == adj_get_sw_if_index(ai)) + sw_if_index != adj_get_sw_if_index(ai)) { + } + else + { vlib_cli_output (vm, "[@%d] %U", ai, format_ip_adjacency, ai, |