diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-23 14:57:29 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-29 15:18:59 +0900 |
commit | dc95e21d33708e807d3e5872af428383aac3f9b7 (patch) | |
tree | 7dac2f8ed74e88f35c042addb137c53c5567fbb1 /src/libsystemd-network/dhcp6-option.c | |
parent | 83455d0c8b40b12193cec4090c9256e8d3e9535c (diff) | |
download | systemd-dc95e21d33708e807d3e5872af428383aac3f9b7.tar.gz |
sd-dhcp6-client: constify one argument
Diffstat (limited to 'src/libsystemd-network/dhcp6-option.c')
-rw-r--r-- | src/libsystemd-network/dhcp6-option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp6-option.c b/src/libsystemd-network/dhcp6-option.c index 34d7e997dd..0709cfd4fd 100644 --- a/src/libsystemd-network/dhcp6-option.c +++ b/src/libsystemd-network/dhcp6-option.c @@ -707,7 +707,7 @@ int dhcp6_option_parse_ia( return 1; } -int dhcp6_option_parse_ip6addrs(uint8_t *optval, uint16_t optlen, +int dhcp6_option_parse_ip6addrs(const uint8_t *optval, uint16_t optlen, struct in6_addr **addrs, size_t count) { if (optlen == 0 || optlen % sizeof(struct in6_addr) != 0) |