]> git.ipfire.org Git - thirdparty/bird.git/commit
IO: Workaround for broken FreeBSD behavior
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 19 Dec 2018 17:10:39 +0000 (18:10 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 19 Dec 2018 17:10:39 +0000 (18:10 +0100)
commit04edf8f2f251f0c2a133843b898cad84f9312880
treef2324b75e30cb31c3943cae1a7c21a6c72413be8
parentc0ed32ee28cbeabf8d36f59765fe593baf39c788
IO: Workaround for broken FreeBSD behavior

FreeBSD silently changes TTL to 1 when MSG_DONTROUTE is used, even when
it is explicitly set to another value. That breaks TTL security sockets,
including BFD which always uses TTL 255. Bad FreeBSD!
sysdep/unix/io.c