diff options
author | katerina.kubecova <katerina.kubecova@nic.cz> | 2023-09-18 14:43:58 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-09-20 14:03:05 +0200 |
commit | bb8e28248be0ad1f728433e4884dfe2db3772b30 (patch) | |
tree | 73f122301f8f02fe0b5d17ef5d28d30c07866326 /proto | |
parent | 9ffea830b673a8b8506877a371e0c9fc52c99b94 (diff) |
Structures bytestring and adata merged into adata.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/radv/config.Y | 2 | ||||
-rw-r--r-- | proto/radv/radv.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proto/radv/config.Y b/proto/radv/config.Y index c57752d9..3a898b8d 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, const struct bytestring *payload) +radv_add_to_custom_list(list *l, int type, const struct adata *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)); diff --git a/proto/radv/radv.h b/proto/radv/radv.h index 2baf0bad..ba4a1b6c 100644 --- a/proto/radv/radv.h +++ b/proto/radv/radv.h @@ -129,7 +129,7 @@ struct radv_custom_config { node n; u8 type; /* Identifier of the type of option */ - const struct bytestring *payload; /* Payload of the option */ + const struct adata *payload; /* Payload of the option */ }; /* |