]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/stropts.c
mount.nfs: try the next address after mount fails with ETIMEDOUT
[nfs-utils.git] / utils / mount / stropts.c
index e09aa7c3b470e5322e5b5ebf3115f73eeed947fd..0aa9a7586dbe6eadf877450e715844907a9aa945 100644 (file)
@@ -665,6 +665,7 @@ static int nfs_try_mount_v3v2(struct nfsmount_info *mi)
                case ECONNREFUSED:
                case EOPNOTSUPP:
                case EHOSTUNREACH:
+               case ETIMEDOUT:
                        continue;
                default:
                        goto out;
@@ -752,6 +753,7 @@ static int nfs_try_mount_v4(struct nfsmount_info *mi)
                switch (errno) {
                case ECONNREFUSED:
                case EHOSTUNREACH:
+               case ETIMEDOUT:
                        continue;
                default:
                        goto out;