diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2014-09-01 13:21:33 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2014-09-10 12:56:24 +0300 |
commit | 346e13a25dc6f76d3bc9d8decd40dc4782b02d2a (patch) | |
tree | 4ff635bda1d1e87469d55087aeb8b87d6ef9aea4 /src/libsystemd-network/test-dhcp6-client.c | |
parent | 9d19a679f23c7a72c326cbbbf44e0c9f423dec5d (diff) |
sd-dhcp6-client: Implement Elapsed Time option
Implement Elapsed Time option as it is defined as MUST in RFC 3315,
section 22.9. The elapsed time value is a 1/100th of a second with
a max value of 0xffff, i.e. 655.35 seconds.
As the main loop might not be running yet when sd_dhcp6_client_start() is
called, fetch the monotonic time directly and not from the event loop
while in state DHCP6_STATE_STOPPED.
Diffstat (limited to 'src/libsystemd-network/test-dhcp6-client.c')
0 files changed, 0 insertions, 0 deletions