0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Fixes unnecessary pipe restart during configure.

This commit is contained in:
Ondrej Zajicek 2009-12-20 12:13:15 +01:00
parent 6877ff73a6
commit 1a5178587f

View 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 *o = (struct pipe_config *) p->cf;
struct pipe_config *n = (struct pipe_config *) new; 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 = { struct protocol proto_pipe = {