diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2014-06-25 15:37:58 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2014-06-26 16:10:21 +0300 |
commit | 709d6710d047566c71f03e579a02c3d99fe15a3e (patch) | |
tree | a7d4386d9a0d2b20f15779f29d91e83a6eda287f /src/libsystemd-network/dhcp-option.c | |
parent | da6fe470e17fa02f3adedc779585caf8669252bd (diff) |
sd-dhcp6-lease: Add helper function to compute remaining expiry time
Create a helper function to compute the remaining time in seconds from
time T2 to the IPv6 address with the longest lifetime. The computed
time is used as the Maximum Retransmission Duration in Rebinding state.
See RFC 3315, section 18.1.4. for details.
Diffstat (limited to 'src/libsystemd-network/dhcp-option.c')
0 files changed, 0 insertions, 0 deletions