From 1a5178587ff63234d1b323fca965acb4a42cb9e2 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 20 Dec 2009 12:13:15 +0100 Subject: Fixes unnecessary pipe restart during configure. --- proto/pipe/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { -- cgit v1.2.3