From 16ad55d2abb8c8db4e0c6e68ae925f9205935978 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 23 Jul 1996 22:00:14 +0000 Subject: Submitted by: archie@whistle.com slight cleanups on yesterday's patches --- usr.bin/netstat/route.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/netstat') 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 @@ -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); -- cgit v1.1