From: Ondrej Zajicek (work) Date: Mon, 9 Nov 2015 00:01:12 +0000 (+0100) Subject: Nest: Fixes bug in missing cleanup during table removal X-Git-Tag: v1.6.0~27^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86b4e17001fe4cca6dde7ff523346121c0ae68fe;p=thirdparty%2Fbird.git Nest: Fixes bug in missing cleanup during table removal When a table is removed during reconfiguration, a reference was not cleared in the old configuration, which breaks undo. --- diff --git a/nest/rt-table.c b/nest/rt-table.c index 2ddff12ea..10ce400ae 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -1868,6 +1868,7 @@ rt_unlock_table(rtable *r) { struct config *conf = r->deleted; DBG("Deleting routing table %s\n", r->name); + r->config->table = NULL; if (r->hostcache) rt_free_hostcache(r); rem_node(&r->n);