summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp6-internal.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-04-02 01:11:32 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-03 19:23:03 +0900
commit2f53b311c3d0e51d9ed5944ef6a24e64f4e6a950 (patch)
treefee5818bd2f7ac466606e93afba8f34d36421630 /src/libsystemd-network/dhcp6-internal.h
parentfbe043001581df609eae40e0d2f2319d52b5237a (diff)
downloadsystemd-2f53b311c3d0e51d9ed5944ef6a24e64f4e6a950.tar.gz
sd-dhcp6-client: rename req_opts_len -> n_req_opts
As 'len' is confusing and we may misunderstand it as the size of the buffer instead of the number of options.
Diffstat (limited to 'src/libsystemd-network/dhcp6-internal.h')
-rw-r--r--src/libsystemd-network/dhcp6-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp6-internal.h b/src/libsystemd-network/dhcp6-internal.h
index 0d7813f613..176391ebec 100644
--- a/src/libsystemd-network/dhcp6-internal.h
+++ b/src/libsystemd-network/dhcp6-internal.h
@@ -64,7 +64,7 @@ struct sd_dhcp6_client {
struct duid duid;
size_t duid_len;
be16_t *req_opts;
- size_t req_opts_len;
+ size_t n_req_opts;
char *fqdn;
char *mudurl;
char **user_class;