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 0e8cb6c475
)
This commit is contained in:

committed by
Dave Wallace

parent
eeafbef61d
commit
12bf52bae2
@ -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)
|
||||
|
Reference in New Issue
Block a user