diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-10-01 15:31:50 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-10-02 23:05:05 +0900 |
commit | 4ec5b5c7785b21d958118cb741c98654bcb9e25a (patch) | |
tree | bf8e6cee41735d4eedb61e8e98dc16b9cb05aae6 /src/libsystemd-network/dhcp6-option.h | |
parent | 93ed1c0eb9b9434ffc292f09f533dc0decad6318 (diff) | |
download | systemd-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.h | 2 |
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( |