summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/netstat/route.c')
-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