]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: make use of str2sa_range() instead of str2sa()
authorWilly Tarreau <w@1wt.eu>
Wed, 20 Feb 2013 16:26:02 +0000 (17:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Feb 2013 16:29:30 +0000 (17:29 +0100)
commit6d03cc3ab48cfb33a094a4d34cbb00d2689ea67f
tree77c7f1594b7fc72d0ef76b792fd70af349572bc1
parentd4448bc8366588ca574b83aaf8abe2de557522f5
MEDIUM: config: make use of str2sa_range() instead of str2sa()

When parsing the config, we now use str2sa_range() to detect when
ranges or port offsets were improperly used. Among the new checks
are "log", "source", "addr", "usesrc" which previously didn't check
for extra parameters.
src/cfgparse.c