diff options
author | Maria Matejka <mq@jmq.cz> | 2021-09-08 08:33:25 +0000 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-10-13 19:09:04 +0200 |
commit | 8ac20511e17af14d62cd84fcc4e460474820a584 (patch) | |
tree | bd9250a261e53e7ba04afab6fda82a4f2e37040c /nest | |
parent | a54f75f454b7ed8c8ff2c1787a506528f22cbae7 (diff) |
Show route may be accidentally called on shutdown also when not all default tables are present
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-show.c b/nest/rt-show.c index 7691878d..a2ebe6a4 100644 --- a/nest/rt-show.c +++ b/nest/rt-show.c @@ -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); } |