summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/if.c
diff options
context:
space:
mode:
authordenny <denny@cvs.openbsd.org>1997-07-23 04:38:35 +0000
committerdenny <denny@cvs.openbsd.org>1997-07-23 04:38:35 +0000
commit9e52122f98445f6979397603fd87d53b16f0b40b (patch)
treefb7d798eca2fb4dbb733bbb376bfd52c5bcd5e42 /usr.bin/netstat/if.c
parent6a68551487a1f9e88b9561cbbb2e82ce4e2ead4a (diff)
Add AppleTalk support. TODO: route.c does not handle netranges.
Diffstat (limited to 'usr.bin/netstat/if.c')
-rw-r--r--usr.bin/netstat/if.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 0dabb9608f0..72d81acee5e 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.14 1997/06/30 03:11:53 millert Exp $ */
+/* $OpenBSD: if.c,v 1.15 1997/07/23 04:38:33 denny Exp $ */
/* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-static char *rcsid = "$OpenBSD: if.c,v 1.14 1997/06/30 03:11:53 millert Exp $";
+static char *rcsid = "$OpenBSD: if.c,v 1.15 1997/07/23 04:38:33 denny Exp $";
#endif
#endif /* not lint */
@@ -208,6 +208,10 @@ intpr(interval, ifnetaddr)
ipx_phost((struct sockaddr *)sipx));
}
break;
+ case AF_APPLETALK:
+ printf("atlk:%-12s",atalk_print(sa,0x10) );
+ printf("%-12s ",atalk_print(sa,0x0b) );
+ break;
case AF_NS:
{
struct sockaddr_ns *sns =