mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Default tables are not created unless actually used.
This allows for setting default table values at the beginning of config file before "master4" and "master6" tables are initialized.
This commit is contained in:
@@ -400,8 +400,8 @@ rt_show_get_default_tables(struct rt_show_data *d)
|
||||
}
|
||||
|
||||
for (int i=1; i<NET_MAX; i++)
|
||||
if (config->def_tables[i] && config->def_tables[i]->table)
|
||||
rt_show_add_table(d, config->def_tables[i]->table);
|
||||
if (config->def_tables[i] && config->def_tables[i]->table && config->def_tables[i]->table->table)
|
||||
rt_show_add_table(d, config->def_tables[i]->table->table);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
Reference in New Issue
Block a user