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.
---
On Thu, Jun 26, 2014 at 01:24:15PM +0300, Patrik Flykt wrote:
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
On Thu, 2014-06-26 at 13:01 +0200, Zbigniew Jędrzejewski-Szmek wrote:
+*expire = 0;
+
+LIST_FOREACH(addresses, addr, ia-addresses) {
+t = be32toh(addr-lifetime_valid);
+if (*expire t)
+*expire = t;
+}
On Thu, Jun 26, 2014 at 03:00:06PM +0300, Patrik Flykt wrote:
On Thu, 2014-06-26 at 13:01 +0200, Zbigniew Jędrzejewski-Szmek wrote:
+*expire = 0;
+
+LIST_FOREACH(addresses, addr, ia-addresses) {
+t = be32toh(addr-lifetime_valid);
+if
On Thu, 2014-06-26 at 14:07 +0200, Zbigniew Jędrzejewski-Szmek wrote:
No comments, the rest looks great, as usual. I think you can push it.
Thanks. And pushed.
Cheers,
Patrik
___
systemd-devel mailing list