]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tcp_sample: fix build of get_tcp_info() on OpenBSD
authorBrad Smith <brad@comstyle.com>
Sat, 13 Aug 2022 02:23:13 +0000 (22:23 -0400)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Aug 2022 03:23:13 +0000 (05:23 +0200)
commit02fd3caa8f042a95418fcc27ac080415eb00d0f5
tree460f312fbffd3c2645de246a3f6f94aaabccced1
parent8bd146d8af78371f97b66e50cac718666eb93388
BUILD: tcp_sample: fix build of get_tcp_info() on OpenBSD

The build on OpenBSD is broken since commit 5c83e3a15 ("MINOR: tcp_sample:
clarifying samples support per os, for further expansion."), hence it
only affects 2.7 and 2.6.

It looks like this changed things in such a way that if TCP_INFO is added
but the OS is not added to the list of OS's it will not build.

Extend support for get_tcp_info to OpenBSD.

This must be backported to 2.6.
src/tcp_sample.c