summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-05-05 11:05:12 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2014-05-05 11:05:12 +0200
commit1149aa977d906a6400f998d5f6600871584395d0 (patch)
tree6326c3c6bd0deb86feeeef10317d52ec19a4466c /nest/proto.c
parent5a3905fe905ab1cc1a58fe9e6a4284f7d5057d13 (diff)
Fixes a problem with undoing of deconfiguring of protocol.
Thanks to Sergey Popovich for the original patch.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 6278580c..7a1e9bf7 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -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);