CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/04/16 08:39:44
Modified files:
usr.sbin/rpki-client: ip.c
Log message:
It is unclear why data is memcpy-ed into a char buf[2] that is used as
argument to ntohs(). Just memcpy to a uint16_t value and ntohs this value.
Fixes possible alignment issues as reported by newer gcc compilers.
OK beck@
