diff options
author | julian <julian@FreeBSD.org> | 1996-07-23 22:00:14 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-07-23 22:00:14 +0000 |
commit | 16ad55d2abb8c8db4e0c6e68ae925f9205935978 (patch) | |
tree | 42e7d7ae354225b7bf9fbd270870541c53dd43f7 /sbin | |
parent | 507c8709748944c310d7a558ec0e27130fadb6f4 (diff) | |
download | FreeBSD-src-16ad55d2abb8c8db4e0c6e68ae925f9205935978.zip FreeBSD-src-16ad55d2abb8c8db4e0c6e68ae925f9205935978.tar.gz |
Submitted by: archie@whistle.com
slight cleanups on yesterday's patches
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/route/route.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index 1a00d52..b2d1eb8 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; */ static const char rcsid[] = - "$Id: route.c,v 1.9 1996/07/09 19:02:28 julian Exp $"; + "$Id: route.c,v 1.10 1996/07/23 01:18:47 julian Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -891,7 +891,8 @@ getaddr(which, s, hpp) case AF_APPLETALK: if (!atalk_aton(s, &su->sat.sat_addr)) errx(EX_NOHOST, "bad address: %s", s); - return(su->sat.sat_addr.s_node != 0); + rtm_addrs |= RTA_NETMASK; + return(forcehost || su->sat.sat_addr.s_node != 0); case AF_LINK: link_addr(s, &su->sdl); |