Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5] src
Module Name: src
Committed By: bouyer
Date: Tue Dec 17 20:57:11 UTC 2013
Modified Files:
src/sys/netinet6 [netbsd-5]: nd6.c
src/usr.sbin/ndp [netbsd-5]: ndp.c
Log Message:
Pull up following revision(s) (requested by martin in ticket #1892):
usr.sbin/ndp/ndp.c: revision 1.42
sys/netinet6/nd6.c: revision 1.146
Instead of voodo casts use simple byte pointer arithmetic and memcpy to
create the "packed" binary format we pass out to userland when querying
the router/prefix list.
Simplify code to print the router/prefix list: use memcpy and local structs
properly aligned on the stack to decode the binary format passed by the
kernel - instead of (bogusly) assuming the format will obey all local
alignement requirements.
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.130.4.1 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.37 -r1.37.18.1 src/usr.sbin/ndp/ndp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index