BIER: crash in show command when no tables are present 81/9981/3
authorNeale Ranns <nranns@cisco.com>
Sun, 7 Jan 2018 19:23:04 +0000 (11:23 -0800)
committerNeale Ranns <nranns@cisco.com>
Tue, 9 Jan 2018 14:59:08 +0000 (14:59 +0000)
Change-Id: Ie291468ea9d05c47cefe39c4ff7fea3e016bacf2
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/bier/bier_bift_table.c

index e0f6c64..cf0d552 100644 (file)
@@ -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)