[Dnsmasq-discuss] dnsmasq-2.61 not responding to ipv6 router solicitation requests
simon at thekelleys.org.uk
Mon May 21 21:03:42 BST 2012
On 21/05/12 18:46, Marien Zwart wrote:
> On ma, 2012-05-21 at 14:37 +0100, Simon Kelley wrote:
>> On 21/05/12 14:14, Marien Zwart wrote:
>>> Unfortunately this has not yet made my dnsmasq respond to router
>>> solicitation requests. Is there some known problem I might be hitting?
>> 2.62test3 has your fix and a couple of other that are relevant. Does
>> that fix things?
> Not quite. The following (on top of 2.62test3) seems to make my dnsmasq
> --- a/src/radv.c
> +++ b/src/radv.c
> @@ -158,7 +158,7 @@
> /* weird libvirt-inspired access control */
> - for (context = daemon->dhcp6; context; context = context->next)
> + for (context = daemon->ra_contexts; context; context = context->next)
> if (!context->interface || strcmp(context->interface, interface) ==
> (I suspect this mail client mangles the patch a bit, fixing that or
> switching back to a more sensible one is lower on my TODO list. Tiny
> enough change that you can still make it out though, I'm sure.)
> but I'm not nearly as sure this doesn't break anything else as I was
> with the previous patch. Still, my dnsmasq does not get past that
> context-finding loop as currently written (as daemon->dhcp6 is NULL).
> Now it's up to someone who knows what that loop is there for to figure
> out how to fix this correctly :)
> Thanks for the speedy responses.
The patch is fine except the same fix needs to applied to the multicast
code in dhcp-common.c
I've push 2.62test4 with this done.
Many thanks for your help with this.
More information about the Dnsmasq-discuss