]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes a problem with undoing of deconfiguring of protocol.
authorOndrej Zajicek <santiago@crfreenet.org>
Mon, 5 May 2014 09:05:12 +0000 (11:05 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Mon, 5 May 2014 09:05:12 +0000 (11:05 +0200)
Thanks to Sergey Popovich for the original patch.

nest/proto.c

index 6278580ca0f5f9a0125cf29963f25aee40bdc007..7a1e9bf78d4356b03a182b3904e385e11dc14a80 100644 (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);