]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tools: make str2sa_range() use protocol_lookup()
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 19:37:31 +0000 (21:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:08 +0000 (22:08 +0200)
commitb2ffc99bbd35415042e63ff4b031984802a0c703
treec3cc90a26f0a60507e2c32fd25a810cb450df0ae
parent910c64da96b798acc594721dcb3598a270080152
MEDIUM: tools: make str2sa_range() use protocol_lookup()

By doing so we can remove the hard-coded mapping from AF_INET to AF_CUST_UDP
but we still need to keep the test on the listeners as long as these dummy
families remain present in the code.
src/tools.c