summaryrefslogtreecommitdiff
path: root/nest/attrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h4
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;