mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Pipe delay scaffolding
This commit is contained in:
@@ -182,6 +182,7 @@ pipe_init(struct proto_config *CF)
|
||||
P->preexport = pipe_preexport;
|
||||
P->reload_routes = pipe_reload_routes;
|
||||
|
||||
p->delay = cf->delay;
|
||||
pipe_configure_channels(p, cf);
|
||||
|
||||
return P;
|
||||
@@ -193,6 +194,9 @@ pipe_reconfigure(struct proto *P, struct proto_config *CF)
|
||||
struct pipe_proto *p = (void *) P;
|
||||
struct pipe_config *cf = (void *) CF;
|
||||
|
||||
if (p->delay != cf->delay)
|
||||
return 0;
|
||||
|
||||
return pipe_configure_channels(p, cf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user