Commit 86b4e170 authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

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.
parent 9b9a7143
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);