diff options
| author | Martin Pels <mpels@ripe.net> | 2023-08-22 13:27:59 +0200 |
|---|---|---|
| committer | Martin Pels <mpels@ripe.net> | 2023-08-22 15:29:07 +0200 |
| commit | 4d96ce1b4d7f45aa3fc792d882040031548cd812 (patch) | |
| tree | 56559ea9eccc54a47b724598f9829e2660330d75 /zebra/zebra_rib.c | |
| parent | 451fb24b17cb9272981d3809f755985d9ce52f79 (diff) | |
zebra: Make main routing table (RT_TABLE_MAIN) configurable
Signed-off-by: Martin Pels <mpels@ripe.net>
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 780d3c8991..5e74848280 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -365,7 +365,7 @@ int is_zebra_valid_kernel_table(uint32_t table_id) int is_zebra_main_routing_table(uint32_t table_id) { - if (table_id == RT_TABLE_MAIN) + if (table_id == rt_table_main_id) return 1; return 0; } |
