diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2002-08-26 13:08:23 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2002-08-26 13:08:23 +0000 |
| commit | fd0b613a7bbf00a83fcc99db7815f73f3654052e (patch) | |
| tree | 902ed06e957bba7c5239abc39e68759206bff6b7 /sbin | |
| parent | 755a869863b6b61e5ed7891b0630b96aa06860f8 (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index b0abaf46f7735..349b9129f6a5f 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -660,7 +660,8 @@ tryagain: return (returncode(rpc_createerr.cf_stat, &rpc_createerr.cf_error)); } - if (nfsargsp->sotype == SOCK_DGRAM) { + if (nfsargsp->sotype == SOCK_DGRAM && + !(nfsargsp->flags & NFSMNT_NOCONN)) { /* * Use connect(), to match what the kernel does. This * catches cases where the server responds from the |
