CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/06/29 10:11:02
Modified files:
usr.sbin/relayd: pfe_route.c
Log message:
Rewrite pfe_route() to actually work on 64bit archs since IPv6 had to be
special. One can not define a struct for the route message since there is
different padding between 32 and 64 bit systems for struct sockaddr_in6.
Instead do what all other daemons do and use struct sockaddr_storage,
iovec and writev.
Problem reported by Joerg Streckfuss (streckfuss at dfn-cert.de)
OK tb@