From 9f3e09832081bc029dc98ae6dda49ee86d138fde Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 6 Aug 2019 18:54:19 +0200 Subject: Filter: Allow to use set constants / expressions in path masks Allow to not only use set literals in path masks, but also existing set constants or set expressions. --- nest/a-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/a-path.c') diff --git a/nest/a-path.c b/nest/a-path.c index 4ee34cf4..b6a30f54 100644 --- a/nest/a-path.c +++ b/nest/a-path.c @@ -741,7 +741,7 @@ pm_match(struct pm_pos *pos, u32 asn, u32 asn2) } static int -pm_match_set(struct pm_pos *pos, struct f_tree *set) +pm_match_set(struct pm_pos *pos, const struct f_tree *set) { struct f_val asn = { .type = T_INT }; -- cgit v1.2.3