diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-09-16 14:17:08 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-09-16 14:33:51 -0400 |
commit | 6f189dae5eb38800c8ae3e2d5c098d11fb44d7d5 (patch) | |
tree | 32c8a5afb6bbd635f0d065cc64ca819aa7a90dd8 /support/nfs/xcommon.c | |
parent | 10a6b17d3588647ab5e1ee81ba40f1ce12a5184d (diff) | |
download | nfs-utils-6f189dae5eb38800c8ae3e2d5c098d11fb44d7d5.tar.gz nfs-utils-6f189dae5eb38800c8ae3e2d5c098d11fb44d7d5.tar.xz nfs-utils-6f189dae5eb38800c8ae3e2d5c098d11fb44d7d5.zip |
exportfs: Enable IPv6 support in matchhostname()
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>
Diffstat (limited to 'support/nfs/xcommon.c')
0 files changed, 0 insertions, 0 deletions