]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tcp: do not include netinet/ip.h for IP_TTL
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2016 16:42:17 +0000 (18:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2016 17:32:15 +0000 (19:32 +0200)
commit7f3e3c0159401cdf47575bc82304696b3a98a2ab
tree40aebecf4b5461ab40a7537a332faee57d97d2e0
parent077edcba2e5c25524b720f905417d9f0616cd252
BUILD: tcp: do not include netinet/ip.h for IP_TTL

On OpenBSD, netinet/ip.h fails unless in_systm.h is included. This
include was added by the silent-drop feature introduced with commit
2d392c2 ("MEDIUM: tcp: add new tcp action "silent-drop"") in 1.6-dev6,
but we don't need it, IP_TTL is defined in netinet/in.h, so let's drop
this useless include.

This fix needs to be backported to 1.6.
src/proto_tcp.c