diff options
author | wollman <wollman@FreeBSD.org> | 1996-02-13 17:30:37 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-02-13 17:30:37 +0000 |
commit | 379b9b388fc8788659993af038bb322bfbcea8b2 (patch) | |
tree | 0853393f80e81ab72567bd7838b4c2b218a67558 /usr.bin/netstat/if.c | |
parent | 45f8e7f5c1b5de36c0bce4e71f98e7bb5fa9236f (diff) | |
download | FreeBSD-src-379b9b388fc8788659993af038bb322bfbcea8b2.zip FreeBSD-src-379b9b388fc8788659993af038bb322bfbcea8b2.tar.gz |
XNS sort-of-support is no more.
Diffstat (limited to 'usr.bin/netstat/if.c')
-rw-r--r-- | usr.bin/netstat/if.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index e1a6ba9..4abe863 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -45,8 +45,10 @@ static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95"; #include <netinet/in_var.h> #include <netipx/ipx.h> #include <netipx/ipx_if.h> +#ifdef NS #include <netns/ns.h> #include <netns/ns_if.h> +#endif #ifdef ISO #include <netiso/iso.h> #include <netiso/iso_var.h> @@ -79,7 +81,9 @@ intpr(interval, ifnetaddr) struct ifaddr ifa; struct in_ifaddr in; struct ipx_ifaddr ipx; +#ifdef NS struct ns_ifaddr ns; +#endif #ifdef ISO struct iso_ifaddr iso; #endif @@ -182,6 +186,7 @@ intpr(interval, ifnetaddr) ipx_phost((struct sockaddr *)sipx)); } break; +#ifdef NS case AF_NS: { struct sockaddr_ns *sns = @@ -197,6 +202,7 @@ intpr(interval, ifnetaddr) ns_phost((struct sockaddr *)sns)); } break; +#endif case AF_LINK: { struct sockaddr_dl *sdl = |