diff options
author | Tom Gundersen <teg@jklm.no> | 2014-10-02 16:04:20 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-10-02 19:07:30 +0200 |
commit | ebe207d4acf38165adbc45298662982eecdb9e9f (patch) | |
tree | dfb8b927876938e191bbadc3838ed6257f0b5722 /src/systemd/sd-dhcp6-client.h | |
parent | 9547267dc56d5bf84b8119dfcb8e101202fac7d3 (diff) |
sd-dhcp6: specify the type explicitly when setting custom DUID
This would make it simple to verify that the data is on the right format when
the type is known.
Diffstat (limited to 'src/systemd/sd-dhcp6-client.h')
-rw-r--r-- | src/systemd/sd-dhcp6-client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-dhcp6-client.h b/src/systemd/sd-dhcp6-client.h index 7b7f098b0c..a4409e8d4e 100644 --- a/src/systemd/sd-dhcp6-client.h +++ b/src/systemd/sd-dhcp6-client.h @@ -45,7 +45,7 @@ int sd_dhcp6_client_set_callback(sd_dhcp6_client *client, int sd_dhcp6_client_set_index(sd_dhcp6_client *client, int interface_index); int sd_dhcp6_client_set_mac(sd_dhcp6_client *client, const struct ether_addr *mac_addr); -int sd_dhcp6_client_set_duid(sd_dhcp6_client *client, uint8_t *duid, +int sd_dhcp6_client_set_duid(sd_dhcp6_client *client, uint16_t type, uint8_t *duid, size_t duid_len); int sd_dhcp6_client_set_request_option(sd_dhcp6_client *client, uint16_t option); |