diff options
author | peter <peter@FreeBSD.org> | 2000-02-13 03:32:07 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-02-13 03:32:07 +0000 |
commit | a5441090deef0b9401bd8291ffdca1f66ca5362d (patch) | |
tree | 08db8fae584f4c3cdf2ad5b2ac80c1bd44801d5a /sys/nfsserver/nfs_srvsubs.c | |
parent | 97c685efe694921d4948ef681efe38f0ad0bac8c (diff) | |
download | FreeBSD-src-a5441090deef0b9401bd8291ffdca1f66ca5362d.zip FreeBSD-src-a5441090deef0b9401bd8291ffdca1f66ca5362d.tar.gz |
Clean up some loose ends in the network code, including the X.25 and ISO
#ifdefs. Clean out unused netisr's and leftover netisr linker set gunk.
Tested on x86 and alpha, including world.
Approved by: jkh
Diffstat (limited to 'sys/nfsserver/nfs_srvsubs.c')
-rw-r--r-- | sys/nfsserver/nfs_srvsubs.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/nfsserver/nfs_srvsubs.c b/sys/nfsserver/nfs_srvsubs.c index 28fce31..2e19721 100644 --- a/sys/nfsserver/nfs_srvsubs.c +++ b/sys/nfsserver/nfs_srvsubs.c @@ -74,9 +74,6 @@ #include <nfs/nfsrtt.h> #include <netinet/in.h> -#ifdef ISO -#include <netiso/iso.h> -#endif /* * Data items converted to xdr at startup, since they are constant @@ -2027,21 +2024,6 @@ netaddr_match(family, haddr, nam) inetaddr->sin_addr.s_addr == haddr->had_inetaddr) return (1); break; -#ifdef ISO - case AF_ISO: - { - register struct sockaddr_iso *isoaddr1, *isoaddr2; - - isoaddr1 = (struct sockaddr_iso *)nam; - isoaddr2 = (struct sockaddr_iso *)haddr->had_nam; - if (isoaddr1->siso_family == AF_ISO && - isoaddr1->siso_nlen > 0 && - isoaddr1->siso_nlen == isoaddr2->siso_nlen && - SAME_ISOADDR(isoaddr1, isoaddr2)) - return (1); - break; - } -#endif /* ISO */ default: break; }; |