Thanks for the patch. We'll apply it and see if it breaks anyone.
Best Regards,
-Marc
On Mar 31, 2005, at 3:16 PM, Andrew de Quincey wrote:
Hi, I hope this is the correct place to post this.
I've been having issues with mDNSPosix always binding to the loopback
interface. I'm using 64 bit gentoo linux on an AMD64.
It turns out the problem is the call to SIOCGIFCONF. The issue is
that the
structure filled out by this call is larger on 64 bit machines than
on 32 bit
machines. It is in fact larger than a struct sockaddr, so when
processing the
list of interfaces, the current code doesn't advance far enough,
and you end
up with a corrupted list.
Attached is a patch which fixes this behaviour. I'm afraid I do not
know if
this is portable beyond linux.
<mDNSResponder-98.fixamd64.patch>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Rendezvous-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/rendezvous-dev/email@hidden