mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:22:03 +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;
|
continue;
|
||||||
if (zrt->afi != afi || zrt->safi != SAFI_UNICAST)
|
if (zrt->afi != afi || zrt->safi != SAFI_UNICAST)
|
||||||
continue;
|
continue;
|
||||||
if (zrt->table)
|
|
||||||
do_show_route_helper(vty, info->zvrf, zrt->table, afi,
|
do_show_route_helper(vty, info->zvrf, zrt->table, afi, false, 0,
|
||||||
false, 0, false, false,
|
false, false, 0, 0, !!json, zrt->tableid);
|
||||||
0, 0, !!json, zrt->tableid);
|
|
||||||
}
|
}
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user