]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - proto/bgp/bgp.h
Merge branch 'master' into mq-filter-stack
[thirdparty/bird.git] / proto / bgp / bgp.h
index d7f7427f2b008c0f818f2c955cd936f97c2e25ab..075e1bb9c3bcf6672108f8a01b8e4f23f55350f3 100644 (file)
@@ -392,7 +392,7 @@ struct bgp_write_state {
   int mpls;
 
   eattr *mp_next_hop;
-  adata *mpls_labels;
+  const adata *mpls_labels;
 };
 
 struct bgp_parse_state {
@@ -523,7 +523,7 @@ bgp_set_attr_u32(ea_list **to, struct linpool *pool, uint code, uint flags, u32
 { bgp_set_attr(to, pool, code, flags, (uintptr_t) val); }
 
 static inline void
-bgp_set_attr_ptr(ea_list **to, struct linpool *pool, uint code, uint flags, struct adata *val)
+bgp_set_attr_ptr(ea_list **to, struct linpool *pool, uint code, uint flags, const struct adata *val)
 { bgp_set_attr(to, pool, code, flags, (uintptr_t) val); }
 
 static inline void