Whenever I execute getaddrinfo() function from libc with a 'hostname.local' address as an argument and AF_INET6 as ai.ai_family, I always get an IPv4 address, even when 'avahi-resolve-host-name -6 hostname.local' returns an IPv6 address. Fix: Refer to the attached patch.txt, which is a patch for dns/nss_mdns port, and will fix the issue. Patch attached with submission follows: How-To-Repeat: I've written a test program getaddrinfo.c[1] which does a getaddrinfo() function call and prints the result on the terminal. [1] - http://pastebin.com/pastebin.php?dl=f20d45049
Responsible Changed From-To: freebsd-ports-bugs->bms Over to maintainer (via the GNATS Auto Assign Tool)
Hi, Updated diff for updating nss_mdns to v0.10. This diff needs to be applied on /usr/ports/dns/nss_mdns . Please ignore any earlier diffs. Thanks -- Ashish Shukla à¤à¤¶à¥à¤· शà¥à¤à¥à¤² http://wahjava.wordpress.com/ ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
State Changed From-To: open->closed Closed with ports/126952