[reSIProcate] [PATCH] DnsUtil: Fix for multihomed interfaces
Gregor Jasny
jasny at vidsoft.de
Fri Dec 5 03:18:37 CST 2008
Hi,
without the attached patch DnsUtil::getInterfaces() returns 0.0.0.0 for
all adapater addresses on my system (the first address is an IPv6
address and USE_IPV6 is disabled).
The patch fixes:
* iterate over all interface addresses, not just the first one
* skip parsing !AF_INET adrdesses if USE_IPV6 is not defined
(otherwise we would get 0.0.0.0 for a AF_INET6 address)
Byron: could you apply it also to the 1.4 branch?
Thanks,
Gregor
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dnsutil-list-all-addresses.patch
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20081205/8a5acb41/attachment.ksh>
More information about the resiprocate-devel
mailing list