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:
Donald Sharp 2018-02-13 20:29:38 -05:00
parent 5335613bc7
commit 36064c0d9b

View File

@ -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);