diff options
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); |