]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/network.c
mount.nfs: don't use IPv6 unless IPV6_SUPPORTED is set
[nfs-utils.git] / utils / mount / network.c
index e3ad5c26a71da5d915fe45f28ae5d32e8dbc9827..906e20cfbc39464ddb838bedbc6607726b1b7e64 100644 (file)
@@ -1344,7 +1344,7 @@ int nfs_nfs_proto_family(struct mount_options *options,
        unsigned long protocol;
        char *option;
 
-#ifdef HAVE_LIBTIRPC
+#ifdef IPV6_SUPPORTED
        *family = AF_UNSPEC;
 #else
        *family = AF_INET;