1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

sd-dhcp6: set requested time for DUID-LLT

Follow-up for 7e90a499ab.
This commit is contained in:
Yu Watanabe 2018-08-24 11:19:22 +09:00 committed by Filipe Brandenburger
parent 339697f081
commit 53253d9c54

View File

@ -208,7 +208,7 @@ static int dhcp6_client_set_duid_internal(
if (client->mac_addr_len == 0)
return -EOPNOTSUPP;
r = dhcp_identifier_set_duid_llt(&client->duid, 0, client->mac_addr, client->mac_addr_len, client->arp_type, &client->duid_len);
r = dhcp_identifier_set_duid_llt(&client->duid, llt_time, client->mac_addr, client->mac_addr_len, client->arp_type, &client->duid_len);
if (r < 0)
return r;
break;