summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_srvcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs/nfs_srvcache.c')
-rw-r--r--sys/nfs/nfs_srvcache.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/nfs/nfs_srvcache.c b/sys/nfs/nfs_srvcache.c
index ab6a69b4b84..7ee149aa29b 100644
--- a/sys/nfs/nfs_srvcache.c
+++ b/sys/nfs/nfs_srvcache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_srvcache.c,v 1.10 2003/06/02 23:28:19 millert Exp $ */
+/* $OpenBSD: nfs_srvcache.c,v 1.11 2004/07/16 15:01:51 henning Exp $ */
/* $NetBSD: nfs_srvcache.c,v 1.12 1996/02/18 11:53:49 fvdl Exp $ */
/*
@@ -52,9 +52,6 @@
#include <sys/socketvar.h>
#include <netinet/in.h>
-#ifdef ISO
-#include <netiso/iso.h>
-#endif
#include <nfs/nfsm_subs.h>
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
@@ -76,7 +73,7 @@ u_long nfsrvhash;
#define FALSE 0
#define NETFAMILY(rp) \
- (((rp)->rc_flag & RC_INETADDR) ? AF_INET : AF_ISO)
+ (((rp)->rc_flag & RC_INETADDR) ? AF_INET : AF_UNSPEC)
/*
* Static array that defines which nfs rpc's are nonidempotent
@@ -251,7 +248,6 @@ loop:
rp->rc_flag |= RC_INETADDR;
rp->rc_inetaddr = saddr->sin_addr.s_addr;
break;
- case AF_ISO:
default:
rp->rc_flag |= RC_NAM;
rp->rc_nam = m_copym(nd->nd_nam, 0, M_COPYALL, M_WAIT);