]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server/bind: add support of new prefixes for addresses.
authorEmeric Brun <ebrun@haproxy.com>
Fri, 2 Apr 2021 15:05:09 +0000 (17:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Apr 2021 07:18:32 +0000 (09:18 +0200)
commitce325c43608aab530ee3140e683fa3d5232f573e
treebbe732e9030ebcc72b90536368a50618858b9567
parenta68380524b5b47cd77f5f4a47c1441b3c5b2cf93
MINOR: server/bind: add support of new prefixes for addresses.

Since the internal function str2sa_range is used to addresses
for different objects ('server', 'bind' but also 'log' or
'nameserver') we notice that some combinations are missing.

"ip@" is introduced to authorize the prefix "dgram+ip@" or
"stream+ip@" which dectects automatically IP version but
specify dgram or stream.

"tcp@" was introduced and is an alias for "stream+ip@".
"tcp6" and "tcp4" are now aliases for "stream+ipv6@" and
"stream+ipv4@".

"uxst@" and "uxdg@" are now aliases for "stream+unix@" and
"dgram+unix@".

This patch also adds a complete section in documentation to
describe adresses and their prefixes.
doc/configuration.txt
src/tools.c