radvd-project / radvd

radvd | Official repository: https://github.com/radvd-project/radvd
https://radvd.litech.org/
Other
203 stars 107 forks source link

Fix add_ra_option_lowpanco() and add_ra_option_abro() on both big-endian and little-endian platforms. #78

Closed trofi closed 6 years ago

trofi commented 7 years ago

It looks like code did not work before as code serialized 16-bit values in host-endian format.

Three fixes here:

tested on x86_64 and powerpc32