Bug 21016

Summary: IPV6_JOIN_GROUP doesnt work for mapped IPv4 multicast addresses
Product: Base System Reporter: huntting
Component: kernAssignee: Hajimu UMEMOTO <ume>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description huntting 2000-09-03 19:50:00 UTC
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

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.
How-To-Repeat: Try to use setsockopt(IPV6_JOIN_GROUP) on a v4 mapped multicast address.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-04 14:31:20 UTC
Responsible Changed
From-To: freebsd-bugs->ume

Over to maintainer.
Comment 2 itojun freebsd_committer freebsd_triage 2000-09-04 17:35:01 UTC
State Changed
From-To: open->closed

it is a feature/spec, not a bug.