aboutsummaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-02-12 05:05:18 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-02-12 05:05:18 +0100
commitd3782c72b9243f4609e61edf5f29e6adeaa41e9c (patch)
tree87ddeee4b3f4f2913cea1bb4dce9e2f2455ac898 /proto
parent77ce849ecf0f89455eeabefbe520c6b4888837b0 (diff)
downloadbird-d3782c72b9243f4609e61edf5f29e6adeaa41e9c.tar.gz
Nest: Add option to control automatic RPKI reload
Also, no automatic reload for BGP channels without import/export table.
Diffstat (limited to 'proto')
-rw-r--r--proto/pipe/pipe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c
index efb992ca..7b5de324 100644
--- a/proto/pipe/pipe.c
+++ b/proto/pipe/pipe.c
@@ -154,7 +154,8 @@ pipe_configure_channels(struct pipe_proto *p, struct pipe_config *cf)
.table = cc->table,
.out_filter = cc->out_filter,
.in_limit = cc->in_limit,
- .ra_mode = RA_ANY
+ .ra_mode = RA_ANY,
+ .rpki_reload = cc->rpki_reload,
};
struct channel_config sec_cf = {
@@ -163,7 +164,8 @@ pipe_configure_channels(struct pipe_proto *p, struct pipe_config *cf)
.table = cf->peer,
.out_filter = cc->in_filter,
.in_limit = cc->out_limit,
- .ra_mode = RA_ANY
+ .ra_mode = RA_ANY,
+ .rpki_reload = cc->rpki_reload,
};
return