[Dnsmasq-discuss] lease time affects ipv6 prefix life time

Olaf Hering olaf at aepfle.de
Fri May 22 07:48:46 BST 2020


Am Thu, 21 May 2020 15:16:49 +0200
schrieb Geert Stappers <stappers at stappers.nl>:

> On Mon, May 04, 2020 at 03:51:58PM +0200, Olaf Hering wrote:
> > dhcp-range=::,constructor:${interface},slaac,ra-names,64,${lease_time}
> > I wonder why the value of ${lease_time} is not used verbatim?  
> I don't understand that question.

What is unclear about it?

I think to fix this issue, this test in src/option.c must be skipped for certain IPv6 configurations:

3231                     if (new->lease_time < 120)
3232                       new->lease_time = 120;


Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200522/f3d1ae63/attachment.sig>


More information about the Dnsmasq-discuss mailing list