Fixes a problem with undoing of deconfiguring of protocol.

Thanks to Sergey Popovich for the original patch.
This commit is contained in:
Ondrej Zajicek 2014-05-05 11:05:12 +02:00
parent 5a3905fe90
commit 1149aa977d

View file

@ -605,6 +605,7 @@ proto_rethink_goal(struct proto *p)
{
struct proto_config *nc = p->cf_new;
DBG("%s has shut down for reconfiguration\n", p->name);
p->cf->proto = NULL;
config_del_obstacle(p->cf->global);
rem_node(&p->n);
rem_node(&p->glob_node);