]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: receiver: move the FOREIGN and V6ONLY options from listener to settings
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Sep 2020 13:12:08 +0000 (15:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commit3fd3bdc836783dc9f8c262bf91bc52fccc750032
tree2ae8f99b42981c783c9692813dd1e6bd87cacd14
parent43046fa4f4d467f77fd557ad7c73b8e8f5c352d4
MINOR: receiver: move the FOREIGN and V6ONLY options from listener to settings

The new RX_O_FOREIGN, RX_O_V6ONLY and RX_O_V4V6 options are now set into
the rx_settings part during the parsing, so that we don't need to adjust
them in each and every listener anymore. We have to keep both v4v6 and
v6only due to the precedence from v6only over v4v6.
include/haproxy/listener-t.h
include/haproxy/receiver-t.h
src/cfgparse-tcp.c
src/proto_tcp.c
src/proto_udp.c
src/sock.c
src/sock_inet.c