diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1996-02-13 17:30:37 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-02-13 17:30:37 +0000 |
| commit | cbc17e711e17aaaa02de20e4fd12c27a43e59f48 (patch) | |
| tree | 0853393f80e81ab72567bd7838b4c2b218a67558 /usr.bin/netstat/if.c | |
| parent | 162b7f0ac29502baf0aca96bed7bf77ade5e7720 (diff) | |
Notes
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 e1a6ba9fdc33..4abe8637018c 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 = |
