summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-19 16:38:32 +0100
committerMaria Matejka <mq@ucw.cz>2022-05-04 15:37:41 +0200
commitcd9550b24487ac7327b0234fd825f4214fdf7b16 (patch)
tree4e2f662d602f2259c08e0192cd1e0abddb58320f /nest/proto.c
parent5299fb9db0e3fb75c37f233e9a8b737c46e61265 (diff)
Implicit ROA check converted to explicit filter instruction sequence
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c10
1 files changed, 2 insertions, 8 deletions
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;