mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:50:26 +00:00
zebra: Allow table creation for tables greater than 252
The linux kernel allows a vast expanse of tables to be used. It would be useful for zebra to track these tables if they are being used. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
5335613bc7
commit
36064c0d9b
@ -529,9 +529,6 @@ struct route_table *zebra_vrf_other_route_table(afi_t afi, u_int32_t table_id,
|
||||
if (afi >= AFI_MAX)
|
||||
return NULL;
|
||||
|
||||
if (table_id >= ZEBRA_KERNEL_TABLE_MAX)
|
||||
return NULL;
|
||||
|
||||
if ((vrf_id == VRF_DEFAULT) && (table_id != RT_TABLE_MAIN)
|
||||
&& (table_id != zebrad.rtm_table_default)) {
|
||||
return zebra_ns_get_table(zns, zvrf, table_id, afi);
|
||||
|
Loading…
Reference in New Issue
Block a user