]> git.ipfire.org Git - thirdparty/bird.git/commit
IO: Workaround for broken FreeBSD behavior
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 18 Dec 2018 18:16:23 +0000 (19:16 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 18 Dec 2018 18:17:17 +0000 (19:17 +0100)
commitc2d29dd197cbff6c143a570576c81bee20fc06eb
treee1b775bc1b5ebb8e84da3507a75bd7174b8a4ff7
parent82b742533bdbf977ec95997fc0011a47a672bcc8
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