summaryrefslogtreecommitdiff
path: root/nest/a-path.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-08-06 18:54:19 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-08-06 18:54:19 +0200
commit9f3e09832081bc029dc98ae6dda49ee86d138fde (patch)
tree9bb699abd5e9aa4b188188514b04c0bb22b95b72 /nest/a-path.c
parentef113c6f725349a2ab52f3cbef18403f82c84134 (diff)
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.
Diffstat (limited to 'nest/a-path.c')
-rw-r--r--nest/a-path.c2
1 files changed, 1 insertions, 1 deletions
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 };