[Dnsmasq-discuss] dnsmasq-2.61 not responding to ipv6 router solicitation requests

Marien Zwart marien.zwart at gmail.com
Mon May 21 18:46:41 BST 2012

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.

Marien Zwart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120521/f1cb95fe/attachment.pgp>

More information about the Dnsmasq-discuss mailing list