MINOR: tools: add several PA_O_PORT_* flags in str2sa_range() callers
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Sep 2020 08:30:39 +0000 (10:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commit809587635e897022d11cc20a15e30d146fa5880d
tree85e58148f11c4a5949273a5e68553f3eef2a10ae
parentcd3a5591f68ee7d053c5aeabe41526642ef7baff
MINOR: tools: add several PA_O_PORT_* flags in str2sa_range() callers

These flags indicate what is expected regarding port specifications. Some
callers accept none, some need fixed ports, some have it mandatory, some
support ranges, and some take an offset. Each possibilty is reflected by
an option. For now they are not exploited, but the goal is to instrument
str2sa_range() to properly parse that.
include/haproxy/tools-t.h
src/cfgparse-listen.c
src/cfgparse.c
src/hlua.c
src/log.c
src/server.c
src/tcpcheck.c