[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	claudio_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/11/24 13:08:49

Modified files:
	lib/libc/net   : getifaddrs.c 

Log message:
Correctly jump over routing headers and calculate the size of the if_data
struct in the if_msghdr instead of using sizeof() blindly. This allows us
to grow if_data without causing issues for the getifaddrs() users.
OK deraadt@ (who needs this for some cool upcomming stuff)