mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 16:20:08 +00:00
zebra: zrt->table cannot crash here
If we have a zrt data structure then we have a table pointer as well. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
d06244b7d4
commit
8f79e2cf65
@ -1025,10 +1025,9 @@ DEFPY (show_route_all_table_vrf,
|
||||
continue;
|
||||
if (zrt->afi != afi || zrt->safi != SAFI_UNICAST)
|
||||
continue;
|
||||
if (zrt->table)
|
||||
do_show_route_helper(vty, info->zvrf, zrt->table, afi,
|
||||
false, 0, false, false,
|
||||
0, 0, !!json, zrt->tableid);
|
||||
|
||||
do_show_route_helper(vty, info->zvrf, zrt->table, afi, false, 0,
|
||||
false, false, 0, 0, !!json, zrt->tableid);
|
||||
}
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user