commit | 9d87ca0685fe878b1cfa0480610be1bee7738130 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Aug 10 21:09:24 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 10 21:11:38 2016 +0200 |
tree | 25f11533f5617c6754d1db17f694fb7b8e2d3998 | |
parent | 64345aaaf0dc2739983902cce4667089ad926a49 [diff] |
BUILD: tcp: define SOL_TCP when only IPPROTO_TCP exists FreeBSD prefers to use IPPROTO_TCP over SOL_TCP, just like it does with their *_IP counterparts. It's worth noting that there are a few inconsistencies between SOL_TCP and IPPROTO_TCP in the code, eg on TCP_QUICKACK. The two values are the same but it's worth applying what implementations recommend. No backport is needed, this was uncovered by the recent tcp_info stuff.