summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/if.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-07-09 02:55:47 +0000
committerjulian <julian@FreeBSD.org>1996-07-09 02:55:47 +0000
commit0c208df31d99f808dbe41d524b1681b1e3acc70e (patch)
treeb35de6f50cb32eeb80ceacdb15123ce5732b87bc /usr.bin/netstat/if.c
parent37f1fda73bb57146d5448c106944e20efc42c06e (diff)
downloadFreeBSD-src-0c208df31d99f808dbe41d524b1681b1e3acc70e.zip
FreeBSD-src-0c208df31d99f808dbe41d524b1681b1e3acc70e.tar.gz
appletalk cleanups
e.g. Active ATALK connections Proto Recv-Q Send-Q Local Address Foreign Address (state) ddp 0 0 [69.230]130 [*.*]* ddp 0 0 [69.230]128 [*.*]* ddp 0 0 [69.230]1 [*.*]* etc..
Diffstat (limited to 'usr.bin/netstat/if.c')
-rw-r--r--usr.bin/netstat/if.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 43fd8cb..2939890 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -186,6 +186,11 @@ intpr(interval, ifnetaddr)
ipx_phost((struct sockaddr *)sipx));
}
break;
+
+ case AF_APPLETALK:
+ printf("atalk:%-7.7s ",atalk_print(sa,1) );
+ printf("%-15.15s ",atalk_print(sa,3) );
+ break;
#ifdef NS
case AF_NS:
{
OpenPOWER on IntegriCloud