diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-08-06 18:54:19 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-08-06 18:54:19 +0200 |
commit | 9f3e09832081bc029dc98ae6dda49ee86d138fde (patch) | |
tree | 9bb699abd5e9aa4b188188514b04c0bb22b95b72 /nest/attrs.h | |
parent | ef113c6f725349a2ab52f3cbef18403f82c84134 (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/attrs.h')
-rw-r--r-- | nest/attrs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/attrs.h b/nest/attrs.h index a17b8c05..6fb0a8fa 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -65,8 +65,8 @@ static inline struct adata *as_path_prepend(struct linpool *pool, const struct a struct f_path_mask_item { union { u32 asn; /* PM_ASN */ - struct f_line *expr; /* PM_ASN_EXPR */ - struct f_tree *set; /* PM_ASN_SET */ + const struct f_line *expr; /* PM_ASN_EXPR */ + const struct f_tree *set; /* PM_ASN_SET */ struct { /* PM_ASN_RANGE */ u32 from; u32 to; |