mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
Show route may be accidentally called on shutdown also when not all default tables are present
This commit is contained in:
parent
a54f75f454
commit
8ac20511e1
@ -339,7 +339,7 @@ rt_show_get_default_tables(struct rt_show_data *d)
|
||||
}
|
||||
|
||||
for (int i=1; i<NET_MAX; i++)
|
||||
if (config->def_tables[i])
|
||||
if (config->def_tables[i] && config->def_tables[i]->table)
|
||||
rt_show_add_table(d, config->def_tables[i]->table);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user