From cd9550b24487ac7327b0234fd825f4214fdf7b16 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Sat, 19 Mar 2022 16:38:32 +0100 Subject: Implicit ROA check converted to explicit filter instruction sequence --- nest/proto.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'nest') diff --git a/nest/proto.c b/nest/proto.c index 7074f73a..c6bda73b 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -409,14 +409,8 @@ channel_roa_subscribe_filter(struct channel *c, int dir) { switch (fi->fi_code) { - case FI_ROA_CHECK_IMPLICIT: - tab = fi->i_FI_ROA_CHECK_IMPLICIT.rtc->table; - if (valid) channel_roa_subscribe(c, tab, dir); - found = 1; - break; - - case FI_ROA_CHECK_EXPLICIT: - tab = fi->i_FI_ROA_CHECK_EXPLICIT.rtc->table; + case FI_ROA_CHECK: + tab = fi->i_FI_ROA_CHECK.rtc->table; if (valid) channel_roa_subscribe(c, tab, dir); found = 1; break; -- cgit v1.2.3