diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-03-17 15:56:12 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-03-17 15:56:12 +0100 |
commit | 0a3db4c68040473ab45b974a7f9256c277c5d31c (patch) | |
tree | 6baf3e6dcd0998d723fc50a82fa2d45fb8ba00d5 /nest/proto.c | |
parent | 2f981534902302cbd13cdb12d4f0c6e9a255687a (diff) |
Minor fixes for restricted builds
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index f05fbe92..1c27e638 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -396,9 +396,11 @@ channel_roa_subscribe_filter(struct channel *c, int dir) if (dir && !channel_reloadable(c)) valid = 0; +#ifdef CONFIG_BGP /* No automatic reload for BGP channels without in_table / out_table */ if (c->channel == &channel_bgp) valid = dir ? !!c->in_table : !!c->out_table; +#endif struct filter_iterator fit; FILTER_ITERATE_INIT(&fit, f, c->proto->pool); |