[OpenWrt-Devel] DHCPv6 flash renumbering patches with HE tunnel breaks

Arjen de Korte arjen+openwrt at de-korte.org
Sun Apr 5 07:36:32 EDT 2015


Citeren Arjen de Korte <arjen+openwrt at de-korte.org>:

> Citeren Steven Barth <cyrus at 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 at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list