]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/dhcp6-internal.h
sd-dhcp6-client: fix buffer size calculation in dhcp6_option_parse_ip6addrs()
[thirdparty/systemd.git] / src / libsystemd-network / dhcp6-internal.h
index 5c24692233f53a58fdbd6045a548bd1d598391c4..ececddf7be16242d05033522162829444cdaa6bb 100644 (file)
@@ -117,8 +117,11 @@ int dhcp6_option_parse_ia(
                 size_t option_data_len,
                 const uint8_t *option_data,
                 DHCP6IA *ret);
-int dhcp6_option_parse_ip6addrs(const uint8_t *optval, uint16_t optlen,
-                                struct in6_addr **addrs, size_t count);
+int dhcp6_option_parse_addresses(
+                const uint8_t *optval,
+                size_t optlen,
+                struct in6_addr **addrs,
+                size_t *count);
 int dhcp6_option_parse_domainname_list(const uint8_t *optval, uint16_t optlen,
                                        char ***str_arr);
 int dhcp6_option_parse_domainname(const uint8_t *optval, uint16_t optlen, char **str);