From nobody@FreeBSD.ORG  Sun Sep  3 11:46:25 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 9B58E37B43C; Sun,  3 Sep 2000 11:46:25 -0700 (PDT)
Message-Id: <20000903184625.9B58E37B43C@hub.freebsd.org>
Date: Sun,  3 Sep 2000 11:46:25 -0700 (PDT)
From: huntting@glarp.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: IPV6_JOIN_GROUP doesnt work for mapped IPv4 multicast addresses
X-Send-Pr-Version: www-1.0

>Number:         21016
>Category:       kern
>Synopsis:       IPV6_JOIN_GROUP doesnt work for mapped IPv4 multicast addresses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ume
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 03 11:50:00 PDT 2000
>Closed-Date:    Mon Sep 4 09:35:01 PDT 2000
>Last-Modified:  Mon Sep 04 09:35:25 PDT 2000
>Originator:     Brad Huntting
>Release:        4.1
>Organization:
Qwest Comm
>Environment:
FreeBSD hunkular.glarp.com 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Sat Aug 26 16:48:20 MDT 2000     root@hunkular.glarp.com:/usr/src/sys/compile/HUNKULAR  i386

>Description:
When passed a v4 mapped multicast address (e.g.  ::ffff:239.255.24.23),
setsockopt(IPV6_JOIN_GROUP) returns EINVAL.  Part of the problem stems
from the fact that the IN6_IS_ADDR_MULTICAST() macro in <netinet6/in6.h>
does not recognise V4 mapped addresses.  Should it?  And should
setsockopt(IPV6_JOIN_GROUP) work on v4 mapped addresses?  If you aggree
that it should, let me know and I will patch the include file and the
kernel accordingly.


thanx,
brad
>How-To-Repeat:
Try to use setsockopt(IPV6_JOIN_GROUP) on a v4 mapped multicast address.
>Fix:
I just want to make sure that this is a bug and not a feature before
I go and "fix" it.  Please let me know ASAP as I have a deadline to meet.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ume 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Sep 4 06:31:20 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21016 
State-Changed-From-To: open->closed 
State-Changed-By: itojun 
State-Changed-When: Mon Sep 4 09:35:01 PDT 2000 
State-Changed-Why:  
it is a feature/spec, not a bug. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21016 
>Unformatted:
