Fix fo bug 5616:

Remove the filters on IPv6 Link Local and Multicast addresses, since 
these _can_ be resolved through the hosts file and manual entry.

svn path=/trunk/; revision=35651
This commit is contained in:
Jaap Keuter 2011-01-25 22:11:59 +00:00
parent 73a08a9b17
commit fe8f565a89
1 changed files with 2 additions and 1 deletions

View File

@ -2628,8 +2628,9 @@ get_hostname6(const struct e_in6_addr *addr)
gboolean resolve = gbl_resolv_flags & RESOLV_NETWORK;
hashipv6_t *tp = host_lookup6(addr, resolve, &found);
if (!resolve || E_IN6_IS_ADDR_LINKLOCAL(addr) || E_IN6_IS_ADDR_MULTICAST(addr))
if (!resolve)
return tp->ip6;
return tp->name;
}