]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: don't use IPv6 unless IPV6_SUPPORTED is set
authorJeff Layton <jlayton@redhat.com>
Mon, 4 Jan 2010 20:42:51 +0000 (15:42 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 4 Jan 2010 20:42:51 +0000 (15:42 -0500)
commit6c3abd83758060356db4fa4e9d69d5bec09865e4
tree61be9b9a6f986ef21f0a31145588b61da4df1f0e
parent64a3030683fab242a1608d7c35766130faffc1c0
mount.nfs: don't use IPv6 unless IPV6_SUPPORTED is set
Commit 1f3fae1fb25168aac187ff1881738c8ad53a8763 made mount.nfs start
looking up and trying to use IPv6 addresses when mount.nfs was built
against libtirpc (even when --enable-ipv6 wasn't specified).

The problem seems to be that nfs_nfs_proto_family() is basing the family
on HAVE_LIBTIRPC. I think it should be basing it on IPV6_SUPPORTED
instead.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/network.c