On 1/2/21 9:31 PM, Hans Dedecker wrote:

Do we really need an extra config option to indicate a configured
preferred lifetime needs to be used ?
Thanks for your quick review!
I made the requested changes here (untested):
https://github.com/PolynomialDivision/odhcpd/commit/a63ed3e678d292c9b10ca72f8e744343a65e2e17

I'm a bit afraid that we will break backwards compatibility. If people want the same behavior as now, they always now have to change the lease-time and preferred_lifetime. I have to think about it again. Further, now the preferred lifetime is only set, if "ra_useleasetime" is set.

I will test the changes and send them via mailing list again.

Bests,
Nick

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to