]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tcp: use IPPROTO_IPV6 instead of SOL_IPV6 on FreeBSD/MacOS
authorWilly Tarreau <w@1wt.eu>
Wed, 31 Mar 2021 06:29:27 +0000 (08:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 Mar 2021 06:29:27 +0000 (08:29 +0200)
commitda2319578555e56eafab0141505ce943f954d859
tree10adc66badd99c96825e1b87c26ffda1c322870f
parentab79ee8b117dbb2c2872747e8119492e70506392
BUILD: tcp: use IPPROTO_IPV6 instead of SOL_IPV6 on FreeBSD/MacOS

Lukas reported in issue #1203 that the previous fix for silent-drop in
commit ab79ee8b1 ("BUG/MINOR: tcp: fix silent-drop workaround for IPv6")
breaks the build on FreeBSD/MacOS due to SOL_IPV6 not being defined. On
these platforms, IPPROTO_IPV6 must be used instead, so this should fix
it.

This needs to be backported to whatever version the fix above is backported
to.
src/tcp_act.c