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.
This commit is contained in:
parent
9b9a7143c4
commit
86b4e17001
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue