summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_ifattach.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2006-11-15 03:07:45 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2006-11-15 03:07:45 +0000
commit2cd488a87d9e67ba4f6b240dc7849b8de271d60c (patch)
tree33f405ff690311bab465da431c88d2ebb0c88097 /sys/netinet6/in6_ifattach.c
parentf672ef1a7d1d652f6c7be5995c9de9ab1a14ebd8 (diff)
unifdef -USCOPEDROUTING
Diffstat (limited to 'sys/netinet6/in6_ifattach.c')
-rw-r--r--sys/netinet6/in6_ifattach.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
index d26b3997805..03e8f264835 100644
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_ifattach.c,v 1.43 2006/08/31 12:37:31 mcbride Exp $ */
+/* $OpenBSD: in6_ifattach.c,v 1.44 2006/11/15 03:07:44 itojun Exp $ */
/* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */
/*
@@ -355,10 +355,6 @@ in6_ifattach_linklocal(ifp, altifp)
ifra.ifra_prefixmask.sin6_len = sizeof(struct sockaddr_in6);
ifra.ifra_prefixmask.sin6_family = AF_INET6;
ifra.ifra_prefixmask.sin6_addr = in6mask64;
-#ifdef SCOPEDROUTING
- /* take into account the sin6_scope_id field for routing */
- ifra.ifra_prefixmask.sin6_scope_id = 0xffffffff;
-#endif
/* link-local addresses should NEVER expire. */
ifra.ifra_lifetime.ia6t_vltime = ND6_INFINITE_LIFETIME;
ifra.ifra_lifetime.ia6t_pltime = ND6_INFINITE_LIFETIME;