summaryrefslogtreecommitdiffstats
path: root/sbin/route
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-08 14:28:46 +0000
committershin <shin@FreeBSD.org>2000-01-08 14:28:46 +0000
commit3b5615c3f382bc8fdfe34e8acf4da89524464e09 (patch)
treea3802f38c87361e41a1de06a6e442ea0021f834c /sbin/route
parent3b8f501c39f1b366c5a778407cb64a9ee278c32a (diff)
downloadFreeBSD-src-3b5615c3f382bc8fdfe34e8acf4da89524464e09.zip
FreeBSD-src-3b5615c3f382bc8fdfe34e8acf4da89524464e09.tar.gz
Merge bug fix from KAME repository.
This fix enables inet6 default route addition. Suggested by: itojun
Diffstat (limited to 'sbin/route')
-rw-r--r--sbin/route/route.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 8576d75..d250fcc 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -573,13 +573,6 @@ newroute(argc, argv)
case K_INET6:
af = AF_INET6;
aflen = sizeof(struct sockaddr_in6);
- if (prefixlen("64") != 64) {
- fprintf(stderr, "internal error: "
- "setting prefixlen=64\n");
- exit(1);
- }
- forcenet = 0;
- ishost = 1;
break;
#endif
case K_ATALK:
OpenPOWER on IntegriCloud