]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: tools: make str2sa_range() less awful for fd@ and sockpair@
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Sep 2020 14:54:05 +0000 (16:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commit5a7beed67b056f731d044526a20872bd9a761b41
tree3fdd5dcc08ee2d50ee8c1c890da8bd40ad33123e
parenta5b325f92c909f9976fcae2b2890eccde244dd40
CLEANUP: tools: make str2sa_range() less awful for fd@ and sockpair@

The code is built to match prefixes at one place and to parse the address
as a second step, except for fd@ and sockpair@ where the test first passes
via AF_UNSPEC that is changed again. This is ugly and confusing, so let's
proceed like for the other ones.
src/tools.c