summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-11 09:14:16 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-11 09:14:16 +0000
commitdd485bff222b7e2489457ed806d4fe29619eb415 (patch)
tree65a3df9145c158867a0eb624e4900c3519fc5b6d /sys/netinet6/ip6_output.c
parent60d99b8926b833934cb89683b494bd5532cda34c (diff)
nuke inp_flags bits for controlling IPv4 mapped address.
we don't support IPv4 mapped address, and there are inconsistent bit manipulation code so it's safer to nuke them.
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index a4c55256d61..67a1c044532 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.16 2000/09/19 03:23:16 angelos Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.17 2000/10/11 09:14:15 itojun Exp $ */
/* $KAME: ip6_output.c,v 1.122 2000/08/19 02:12:02 jinmei Exp $ */
/*
@@ -1388,17 +1388,6 @@ ip6_ctloutput(op, so, level, optname, mp)
case IPV6_LEAVE_GROUP:
error = ip6_setmoptions(optname,
&inp->inp_moptions6, m);
- /*
- * XXX: setting the flag would be redundant
- * except at the first time. Also, we
- * actually don't have to reset the flag,
- * since ip6_freemoptions() would simply
- * return when the inp_moptions6 is NULL.
- */
- if (inp->inp_moptions6)
- inp->inp_flags |= INP_IPV6_MCAST;
- else
- inp->inp_flags &= ~INP_IPV6_MCAST;
break;
case IPV6_PORTRANGE: