aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-01-07 11:23:04 -0800
committerNeale Ranns <nranns@cisco.com>2018-01-09 14:59:08 +0000
commit0e8cb6c475b616a3296b08d25bcaa1eed3ab0084 (patch)
treea3a1838397d392623c009ed2edda4f03f2c83e48 /src/vnet
parenteea537a288721b867d65b736363ab3f71ba6116c (diff)
BIER: crash in show command when no tables are present
Change-Id: Ie291468ea9d05c47cefe39c4ff7fea3e016bacf2 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/bier/bier_bift_table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/bier/bier_bift_table.c b/src/vnet/bier/bier_bift_table.c
index e0f6c64ea59..cf0d552f192 100644
--- a/src/vnet/bier/bier_bift_table.c
+++ b/src/vnet/bier/bier_bift_table.c
@@ -239,6 +239,7 @@ show_bier_bift_cmd (vlib_main_t * vm,
if (NULL == bier_bift_table)
{
vlib_cli_output(vm, "no BIFT entries");
+ goto done;
}
if (~0 == set)