]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] cfgparse: better report wrong listening addresses and make use of str2sa_range
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Mar 2011 14:43:13 +0000 (15:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Mar 2011 21:49:55 +0000 (22:49 +0100)
commit2dff0c28e85207df94185d43b80722ac138c4436
tree5d03bf650f0ff988234b127923fa994a38255724
parent9842ff1ae65385287647a3211f89dde10f9c7e45
[MINOR] cfgparse: better report wrong listening addresses and make use of str2sa_range

It's always been a mess to debug wrong listening addresses because
the parsing function does not indicate the file and line number. Now
it does. Since the code was almost a duplicate of str2sa_range, it
now makes use of it and has been sensibly reduced.
src/cfgparse.c