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:
parent
6877ff73a6
commit
1a5178587f
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user