summaryrefslogtreecommitdiff
path: root/include/rpc/pmap_prot.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-02-02 00:23:55 +0000
committerEric Andersen <andersen@codepoet.org>2007-02-02 00:23:55 +0000
commit9af4b40d3886077df93b02458026f6a9766ac6c9 (patch)
tree1b4514bea794adb7a2f629a1431bd1e72d94f1ed /include/rpc/pmap_prot.h
parent28f3c7c9130c9a8e796f40fe81745035c774b36a (diff)
fix obvious bug in ipv4/ipv6 resolving. When not using AF_INET,
gethostbyname2_r tries to resolve an ipv6 address from /etc/hosts using get_hosts_byname_r, but with AF_INET instead of the supplied address family. This returns ipv4 addresses marked as ipv6 ones. Fix from nbd.
Diffstat (limited to 'include/rpc/pmap_prot.h')
0 files changed, 0 insertions, 0 deletions