]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes unnecessary pipe restart during configure.
authorOndrej Zajicek <santiago@crfreenet.org>
Sun, 20 Dec 2009 11:13:15 +0000 (12:13 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Sun, 20 Dec 2009 11:13:15 +0000 (12:13 +0100)
proto/pipe/pipe.c

index c117f3b47e00106948beceb65a6d73fa3931c4ee..18f1c005881845fac032f86503a00769a1274273 100644 (file)
@@ -211,7 +211,7 @@ pipe_reconfigure(struct proto *p, struct proto_config *new)
   struct pipe_config *o = (struct pipe_config *) p->cf;
   struct pipe_config *n = (struct pipe_config *) new;
 
-  return (o->peer == n->peer) && (o->mode == n->mode);
+  return (o->peer->table == n->peer->table) && (o->mode == n->mode);
 }
 
 struct protocol proto_pipe = {