]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: remove the central test for "udp" in str2sa_range()
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 13:20:59 +0000 (15:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:08 +0000 (22:08 +0200)
commit62a976cd445aa3476c2973ba6b9421eb1de6b9df
tree0d5ccbf2db797e5b63b6d841c31dc754e93e84c7
parent3baec249b199048721299820f8543e8552fd98ee
MINOR: tools: remove the central test for "udp" in str2sa_range()

Now we only rely on dgram type associated with AF_INET/AF_INET6 to infer
UDP4/UDP6. We still keep the hint based on PA_O_SOCKET_FD to detect that
the caller is a listener though. It's still far from optimal but UDP
remains rooted into the protocols and needs to be taken out first.
src/tools.c