MINOR: tools: drop listener detection hack from str2sa_range()
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:04:46 +0000 (22:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:08 +0000 (22:08 +0200)
commitaf9609b4d1ceafa9c637b57999ec6d3503742dd6
tree623c1c6f710578ed94b8e08a4feb4af1b940d0ef
parent2b5e0d8b6ad0f0901e29d70a6324f225a5bb6dd4
MINOR: tools: drop listener detection hack from str2sa_range()

We used to resort to a trick to detect whether the caller was a listener
or an outgoing socket in order never to present an AF_CUST_UDP* socket
to a log server nor a nameserver. This is no longer necessary, the socket
type alone will be enough.
src/tools.c