Subject: CVS commit: src/sys/netinet6
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 08/07/2007 04:35:43
Module Name:	src
Committed By:	dyoung
Date:		Tue Aug  7 04:35:43 UTC 2007

Modified Files:
	src/sys/netinet6: nd6.c nd6.h nd6_nbr.c

Log Message:
Avoid writing past the end of the buffer [lldst, lldst + dstsize)
in nd6_storelladdr().

Use sockaddr_dl_setaddr().  Constify some sockaddr_dl's.  Constify
a sockaddr argument to nd6_na_output().  Change SDL() to "standard"
satocsdl() or satosdl().  Change SIN6() to satocsin6() or satosin6().

bcmp -> memcmp, bcopy -> memcpy.


To generate a diff of this commit:
cvs rdiff -r1.117 -r1.118 src/sys/netinet6/nd6.c
cvs rdiff -r1.48 -r1.49 src/sys/netinet6/nd6.h
cvs rdiff -r1.77 -r1.78 src/sys/netinet6/nd6_nbr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.