MINOR: listener: move the DEF_ACCEPT option to the bind_conf
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Jan 2023 18:42:48 +0000 (19:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 17:00:20 +0000 (18:00 +0100)
commitd9b4d21248be9996ff23a25e576669bc24b22371
treea2034b52fe06676a752ad229d875b1b060c8b000
parent9bdcf42922396e43e038fc6e40a79a372fd554b1
MINOR: listener: move the DEF_ACCEPT option to the bind_conf

This option is set per bind line, and was only set stored when the
address family is AF_INET4 or AF_INET6. That's pointless since it's
used only in tcp_bind_listener() which is only used for such families
as well, so it can now be moved to the bind_conf under the name
BC_O_DEF_ACCEPT.
include/haproxy/listener-t.h
src/cfgparse-tcp.c
src/proto_tcp.c