mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
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
@ -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 New Issue
Block a user