[Dnsmasq-discuss] DHCPv6

Simon Kelley simon at thekelleys.org.uk
Wed Apr 10 11:20:46 BST 2013


On 10/04/13 08:06, Christof Meerwald wrote:
> On Tue, 09 Apr 2013 10:18:15 +0100, Simon Kelley wrote:
>>> Hope that helps...
>>
>> It helps a lot, but there must be other stuff going on here that we
>> don't have logs for. The crucial thing to look for is the IAID: that's
>> logged in the ia-na options which dnsmasq is sending, and it appears as
>> the second field in the leases file.
>
> I have checked all the logs and there is no IAID 2147483647 being
> logged by dnsmasq.
>
<snip>

> and that's the resulting dnsmasq.leases file:
>
> 1365586946 00:26:9e:38:e5:fb 192.168.174.13 twilight *
> duid 00:01:00:01:18:f3:64:29:b8:27:eb:a5:5a:4f
> 1365583348 2654529019 2a01:348:236:feed::da3b * 00:01:00:01:18:f3:5c:6c:00:26:9e:38:e5:fb
> 1365583157 2147483647 2a01:348:236:feed::13 * 00:01:00:01:18:f3:5c:6c:00:26:9e:38:e5:fb
>
>

... and the lesson here, is don't write an unsigned integer to a text 
file and then parse is back in using atoi(). D'oh!


2.66rc5 should fix things, I believe.


Cheers,

Simon.





More information about the Dnsmasq-discuss mailing list