MINOR: tools: make str2sa_range() take more options than just resolve
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Sep 2020 13:30:46 +0000 (15:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commitcd3a5591f68ee7d053c5aeabe41526642ef7baff
tree7ac7b4210c7d15f9a7d06182b8a116f3302070b3
parent5a7beed67b056f731d044526a20872bd9a761b41
MINOR: tools: make str2sa_range() take more options than just resolve

We currently have an argument to require that the address is resolved
but we'll soon add more, so let's turn it into a bit field. The old
"resolve" boolean is now PA_O_RESOLVE.
include/haproxy/tools-t.h
include/haproxy/tools.h
src/cfgparse-listen.c
src/cfgparse.c
src/check.c
src/log.c
src/server.c
src/tcpcheck.c
src/tools.c