summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-07-23 22:00:14 +0000
committerjulian <julian@FreeBSD.org>1996-07-23 22:00:14 +0000
commit16ad55d2abb8c8db4e0c6e68ae925f9205935978 (patch)
tree42e7d7ae354225b7bf9fbd270870541c53dd43f7 /usr.bin
parent507c8709748944c310d7a558ec0e27130fadb6f4 (diff)
downloadFreeBSD-src-16ad55d2abb8c8db4e0c6e68ae925f9205935978.zip
FreeBSD-src-16ad55d2abb8c8db4e0c6e68ae925f9205935978.tar.gz
Submitted by: archie@whistle.com
slight cleanups on yesterday's patches
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index 77cd001..6140477 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -36,7 +36,7 @@
static char sccsid[] = "From: @(#)route.c 8.6 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
- "$Id: route.c,v 1.16 1996/06/15 17:08:40 peter Exp $";
+ "$Id: route.c,v 1.17 1996/07/23 01:18:17 julian Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -418,7 +418,7 @@ p_sockaddr(sa, mask, flags, width)
}
case AF_APPLETALK:
{
- if (mask)
+ if (!(flags & RTF_HOST) && mask)
cp = atalk_print2(sa,mask,11);
else
cp = atalk_print(sa,11);
OpenPOWER on IntegriCloud