make appletalk networks not show an un-needed host

part in displaying the routes.
This commit is contained in:
Julian Elischer 1996-09-05 23:34:09 +00:00
parent c6060a60ef
commit d4b2a43950
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18066

View file

@ -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.17 1996/07/23 01:18:17 julian Exp $";
"$Id: route.c,v 1.18 1996/07/23 22:00:12 julian Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -419,7 +419,7 @@ p_sockaddr(sa, mask, flags, width)
case AF_APPLETALK:
{
if (!(flags & RTF_HOST) && mask)
cp = atalk_print2(sa,mask,11);
cp = atalk_print2(sa,mask,9);
else
cp = atalk_print(sa,11);
break;