diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-02 01:11:32 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-03 19:23:03 +0900 |
commit | 2f53b311c3d0e51d9ed5944ef6a24e64f4e6a950 (patch) | |
tree | fee5818bd2f7ac466606e93afba8f34d36421630 /src/libsystemd-network/dhcp6-internal.h | |
parent | fbe043001581df609eae40e0d2f2319d52b5237a (diff) | |
download | systemd-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.h | 2 |
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; |