Fixes a problem with undoing of deconfiguring of protocol.
Thanks to Sergey Popovich for the original patch.
This commit is contained in:
parent
5a3905fe90
commit
1149aa977d
1 changed files with 1 additions and 0 deletions
|
@ -605,6 +605,7 @@ proto_rethink_goal(struct proto *p)
|
||||||
{
|
{
|
||||||
struct proto_config *nc = p->cf_new;
|
struct proto_config *nc = p->cf_new;
|
||||||
DBG("%s has shut down for reconfiguration\n", p->name);
|
DBG("%s has shut down for reconfiguration\n", p->name);
|
||||||
|
p->cf->proto = NULL;
|
||||||
config_del_obstacle(p->cf->global);
|
config_del_obstacle(p->cf->global);
|
||||||
rem_node(&p->n);
|
rem_node(&p->n);
|
||||||
rem_node(&p->glob_node);
|
rem_node(&p->glob_node);
|
||||||
|
|
Loading…
Reference in a new issue