summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-08-19 18:52:49 +0000
committerjulian <julian@FreeBSD.org>1996-08-19 18:52:49 +0000
commit172fa553334216531fb11dc69e4bb176fd510943 (patch)
tree3cb668f35eac6ea270b4d8ad5dd3d9dadb636a2b /sbin
parent26e7a3ebbaff3a127243b4224a957ae6cf1eed1f (diff)
downloadFreeBSD-src-172fa553334216531fb11dc69e4bb176fd510943.zip
FreeBSD-src-172fa553334216531fb11dc69e4bb176fd510943.tar.gz
back out a part of the previous patch that garrett objected to..
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.84
-rw-r--r--sbin/route/route.c5
2 files changed, 2 insertions, 7 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 3a9ccc0..f302102 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -179,9 +179,7 @@ the gateway given is the address of this host on the common network,
indicating the interface to be used for transmission.
Alternately, if the interface is point to point the name of the interface
itself may be given, in which case the route remains valid even
-if the local or remote addresses change. This forces the
-.Fl llinfo
-flag.
+if the local or remote addresses change.
.Pp
The optional modifiers
.Fl xns ,
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 6acb279..d829ac3 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.12 1996/08/09 22:52:02 julian Exp $";
+ "$Id: route.c,v 1.13 1996/08/13 22:20:20 julian Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -111,7 +111,6 @@ int s;
int forcehost, forcenet, doflush, nflag, af, qflag, tflag, keyword();
int iflag, verbose, aflen = sizeof (struct sockaddr_in);
int locking, lockrest, debugonly;
-int extra_flags;
struct rt_metrics rt_metrics;
u_long rtm_inits;
struct in_addr inet_makeaddr();
@@ -708,7 +707,6 @@ newroute(argc, argv)
if (forcenet)
ishost = 0;
flags |= RTF_UP;
- flags |= extra_flags;
if (ishost)
flags |= RTF_HOST;
if (iflag == 0)
@@ -871,7 +869,6 @@ getaddr(which, s, hpp)
/* If we found it, then use it */
if (sdl) {
su->sdl = *sdl;
- extra_flags |= RTF_LLINFO;
return(1);
}
}
OpenPOWER on IntegriCloud