diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-12-20 12:13:15 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-12-20 12:13:15 +0100 |
commit | 1a5178587ff63234d1b323fca965acb4a42cb9e2 (patch) | |
tree | 17dd5dc590c216bbf38fd850d901ebb521130205 /proto | |
parent | 6877ff73a61d1924bc8940f7b646f52f7b34eca0 (diff) | |
download | bird-1a5178587ff63234d1b323fca965acb4a42cb9e2.tar bird-1a5178587ff63234d1b323fca965acb4a42cb9e2.zip |
Fixes unnecessary pipe restart during configure.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/pipe/pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c index c117f3b..18f1c00 100644 --- a/proto/pipe/pipe.c +++ b/proto/pipe/pipe.c @@ -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 = { |