From 8ac20511e17af14d62cd84fcc4e460474820a584 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 8 Sep 2021 08:33:25 +0000 Subject: [PATCH] Show route may be accidentally called on shutdown also when not all default tables are present --- nest/rt-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; idef_tables[i]) + if (config->def_tables[i] && config->def_tables[i]->table) rt_show_add_table(d, config->def_tables[i]->table); }