summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp6-option.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-10-01 15:31:50 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-10-02 23:05:05 +0900
commit4ec5b5c7785b21d958118cb741c98654bcb9e25a (patch)
treebf8e6cee41735d4eedb61e8e98dc16b9cb05aae6 /src/libsystemd-network/dhcp6-option.h
parent93ed1c0eb9b9434ffc292f09f533dc0decad6318 (diff)
downloadsystemd-4ec5b5c7785b21d958118cb741c98654bcb9e25a.tar.gz
sd-dhcp6-client: make dhcp6_option_append_fqdn() or friends handle zero length value gracefully
Diffstat (limited to 'src/libsystemd-network/dhcp6-option.h')
-rw-r--r--src/libsystemd-network/dhcp6-option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp6-option.h b/src/libsystemd-network/dhcp6-option.h
index 80aba7f37f..d044222124 100644
--- a/src/libsystemd-network/dhcp6-option.h
+++ b/src/libsystemd-network/dhcp6-option.h
@@ -77,7 +77,7 @@ int dhcp6_option_append(uint8_t **buf, size_t *buflen, uint16_t code,
int dhcp6_option_append_ia(uint8_t **buf, size_t *buflen, const DHCP6IA *ia);
int dhcp6_option_append_fqdn(uint8_t **buf, size_t *buflen, const char *fqdn);
int dhcp6_option_append_user_class(uint8_t **buf, size_t *buflen, char * const *user_class);
-int dhcp6_option_append_vendor_class(uint8_t **buf, size_t *buflen, char * const *user_class);
+int dhcp6_option_append_vendor_class(uint8_t **buf, size_t *buflen, char * const *vendor_class);
int dhcp6_option_append_vendor_option(uint8_t **buf, size_t *buflen, OrderedSet *vendor_options);
int dhcp6_option_parse(