Citeren Arjen de Korte <arjen+open...@de-korte.org>:
Citeren Steven Barth <cy...@openwrt.org>:
Is that okay with you or do you see any other issues?
One issue left. Since IPv6 is configured statically here, the
preferred- and valid lifetimes are 'forever' (represented as
0xffffffff). If the lifetime is forever, it should stay that way.
See attached patch. It does not deal with the situation where
addr[i].{preferred,valid} < now, in which case the value may need to
be clamped to 0 or 1. I'm not sure if this can ever happen though.
Never mind the last remark, that situation is dealt with by the lines
in between what I changed. If the preferred lifetime is less or equal
than now, it skips this entirely. Which means that the patch as is
should be enough.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel