From: Maria Matejka Date: Wed, 8 Sep 2021 08:33:25 +0000 (+0000) Subject: Show route may be accidentally called on shutdown also when not all default tables... X-Git-Tag: 3.0-alpha0~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ac20511e17af14d62cd84fcc4e460474820a584;p=thirdparty%2Fbird.git Show route may be accidentally called on shutdown also when not all default tables are present --- diff --git a/nest/rt-show.c b/nest/rt-show.c index 7691878dd..a2ebe6a40 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; idef_tables[i]) + if (config->def_tables[i] && config->def_tables[i]->table) rt_show_add_table(d, config->def_tables[i]->table); }