aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-01-07 11:23:04 -0800
committerDave Wallace <dwallacelf@gmail.com>2018-01-09 17:00:39 +0000
commit12bf52bae2a608a34a73222dedbb5e4a441055c7 (patch)
tree152416c066b1e5f2dede3ee8ba1cec0cffc6ef47 /src/vnet
parenteeafbef61db693437ff6866974053e0050413255 (diff)
BIER: crash in show command when no tables are present
Change-Id: Ie291468ea9d05c47cefe39c4ff7fea3e016bacf2 Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit 0e8cb6c475b616a3296b08d25bcaa1eed3ab0084)
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)