Ian Kent 5a1604
diff --git a/CHANGELOG b/CHANGELOG
Ian Kent 5a1604
index b172579..5a85a8e 100644
Ian Kent 5a1604
--- a/CHANGELOG
Ian Kent 5a1604
+++ b/CHANGELOG
Ian Kent 5a1604
@@ -3,6 +3,7 @@
Ian Kent 5a1604
 - correct configure test for ldapr page control functions.
Ian Kent 5a1604
 - catch "-xfn" map type and issue "no supported" message.
Ian Kent 5a1604
 - correction for handling of LDAP base dns with spaces.
Ian Kent 5a1604
+- avoid using UDP for probing NFSv4 mount requests.
Ian Kent 5a1604
  
Ian Kent 5a1604
 14/01/2008 autofs-5.0.3
Ian Kent 5a1604
 -----------------------
Ian Kent 5a1604
diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c
Ian Kent 5a1604
index 0e7aebe..df01fd6 100644
Ian Kent 5a1604
--- a/modules/mount_nfs.c
Ian Kent 5a1604
+++ b/modules/mount_nfs.c
Ian Kent 5a1604
@@ -129,7 +129,7 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name, int
Ian Kent 5a1604
 	}
Ian Kent 5a1604
 
Ian Kent 5a1604
 	if (strcmp(fstype, "nfs4") == 0)
Ian Kent 5a1604
-		vers = NFS4_VERS_MASK | NFS_PROTO_MASK;
Ian Kent 5a1604
+		vers = NFS4_VERS_MASK | TCP_SUPPORTED;
Ian Kent 5a1604
 	else
Ian Kent 5a1604
 		vers = NFS_VERS_MASK | NFS_PROTO_MASK;
Ian Kent 5a1604