]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
exportfs: Enable IPv6 support in matchhostname()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 16 Sep 2010 18:17:08 +0000 (14:17 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 16 Sep 2010 18:33:51 +0000 (14:33 -0400)
To gain IPv6 support in matchhostname(), simply replace the socket
address comparison helpers with the generic versions that can handle
IPv4 and IPv6.

host_addrinfo() (called by matchhostname()) returns IPv6 addresses
only if IPv6 support is enabled.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found