Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failure with ipv6 disabled on Linux



Hi.

On Linux (Conectiva Linux, kernel 2.6.8), I can't run mDNS* applications (updated CVS) if I keep ipv6 disabled. I get the following failure:

[ademar@optimus mDNSPosix]$ ./build/prod/mDNSNetMonitor
mDNSNetMonitor: mDNSNetMonitor failed -65537
[ademar@optimus mDNSPosix]$ ./build/prod/mDNSClientPosix
mDNSClientPosix: Finished with status -65537, result 2

Looks like the error resides in the mDNSUNP.c:get_ifi_info() function, which fails if socket6() returns an error on line 152.

If I remove the check after the socket6() call it works fine, but I'm doing it blindly, I hope someone with a good understanding of the code can fix this issue the right way :-)

Just to remember, programs should not fail if ipv6 is disabled, even if the platform supports it.

--
Ademar de Souza Reis Jr. <email@hidden>
Conectiva S.A. - http://www.conectiva.com.br

^[:wq!
_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.