diff options
author | Alexander Zubkov <green@qrator.net> | 2023-08-22 14:44:18 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-08-22 14:44:18 +0200 |
commit | fea04d7c34b92d854cfcd4cc3db2dcba60caba7b (patch) | |
tree | 792d86f7b67f9a94dbea76077f07f7036941cc78 /proto/radv/config.Y | |
parent | 9bf20484764364b9f32bef0a3a7f877abbc29914 (diff) |
Use more proper pointers to constant bytestrings
Diffstat (limited to 'proto/radv/config.Y')
-rw-r--r-- | proto/radv/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/radv/config.Y b/proto/radv/config.Y index db683194..eeafe6f4 100644 --- a/proto/radv/config.Y +++ b/proto/radv/config.Y @@ -26,7 +26,7 @@ static list radv_dns_list; /* Used by radv_rdnss and radv_dnssl */ static u8 radv_mult_val; /* Used by radv_mult for second return value */ static inline void -radv_add_to_custom_list(list *l, int type, struct bytestring *payload) +radv_add_to_custom_list(list *l, int type, const struct bytestring *payload) { if (type < 0 || type > 255) cf_error("RA cusom type must be in range 0-255"); struct radv_custom_config *cf = cfg_allocz(sizeof(struct radv_custom_config)); |