On Mon, 4 Jul 2011 19:33:40 -0600 (MDT) YASUOKA Masahiko <yasu...@cvs.openbsd.org> wrote: > CVSROOT: /cvs > Module name: src > Changes by: yasu...@cvs.openbsd.org 2011/07/04 19:33:40 > > Modified files: > usr.sbin/npppd/npppd: privsep.c > > Log message: > Fixed some bugs of priv_send(). The bugs caused sending routing messages > failures. 'errno' returned by the privileged process was not initialized. > 'tolen' in priv_sendto() was garbage. > > ok hsuenaga@
This diff also fix a problem on amd64. npppd could not set route entries. This was caused by misunderstanding about struct padding and struct member alignment. tested sakurai@ ok hsuenaga@