summaryrefslogtreecommitdiff
path: root/sbin/route
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-04 22:22:38 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-04 22:22:38 +0000
commit8ac402c3121b13cfabe361a53b1887c28d51e246 (patch)
tree3146bd390efe8e02049dac0a0bb7b001259d0285 /sbin/route
parentf3c4fe96ec687dc922b49b0ed64c55fd4be45833 (diff)
do not automagically have -prefixlen 128 on IPv6 host route.
From: Dawid Szymanski <dawszy@arhea.net>
Diffstat (limited to 'sbin/route')
-rw-r--r--sbin/route/route.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 6750a6e2264..111ccd140f7 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.46 2002/05/26 09:24:35 deraadt Exp $ */
+/* $OpenBSD: route.c,v 1.47 2002/06/04 22:22:37 itojun Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94";
#else
-static char rcsid[] = "$OpenBSD: route.c,v 1.46 2002/05/26 09:24:35 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: route.c,v 1.47 2002/06/04 22:22:37 itojun Exp $";
#endif
#endif /* not lint */
@@ -915,8 +915,6 @@ inet6_makenetandmask(sin6)
memset(&in6, 0, sizeof(in6));
if (!memcmp(&sin6->sin6_addr.s6_addr[8], &in6.s6_addr[8], 8))
plen = "64";
- else
- plen = "128";
}
if (plen) {