]> git.ipfire.org Git - thirdparty/bird.git/commit
Fix IP_HDRINCL usage on FreeBSD 11
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 17 Jan 2017 12:21:25 +0000 (13:21 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 17 Jan 2017 12:21:25 +0000 (13:21 +0100)
commitf6e6c3b5a5997ffc67d96785bbde76bcec072890
treef6b32027c56b89df39e257a12b191dbf649bdfa6
parent017da76b729cc36c4a3416995b06386235660f42
Fix IP_HDRINCL usage on FreeBSD 11

FreeBSD 11 changed endianity of ip_len field from host order to network
order. Also DragonFly BSD allegedly expects network order here.

Thanks to Olivier Cochard-LabbĂ© for the patch.
sysdep/bsd/sysio.h