Bug 25786

Summary: Misdeclared IPv6 macros.
Product: Base System Reporter: marka <marka>
Component: binAssignee: Hajimu UMEMOTO <ume>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description marka 2001-03-14 03:10:01 UTC
	IN6_IS_ADDR_UNSPECIFIED
	IN6_IS_ADDR_LOOPBACK
	IN6_IS_ADDR_V4COMPAT
	IN6_IS_ADDR_V4MAPPED

	All the above macros cause compiler warnings when passed
	const's.  The casts are missing a the const.

Fix: 

Add missing const's to casts.

	e.g. (const u_int32_t *) instead of (u_int32_t *).
Comment 1 dwmalone freebsd_committer freebsd_triage 2001-03-14 10:37:30 UTC
Responsible Changed
From-To: freebsd-bugs->ume


This PR should probably be taken up directly with the KAME people, 
but I'll assign it to ume for the moment.
Comment 2 Hajimu UMEMOTO freebsd_committer freebsd_triage 2001-06-15 11:19:58 UTC
State Changed
From-To: open->closed

By merging recent KAME, it was fixed. 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet6/in6.h.diff?r1=1.12&r2=1.13 
Thank you for reporting.