]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cli: correctly remove the whole table on "clear table"
authorWilly Tarreau <w@1wt.eu>
Mon, 9 Jan 2012 10:50:03 +0000 (11:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Jan 2012 10:53:09 +0000 (11:53 +0100)
commit8fa52f4e0e73239ba84754c9b9568ed4571bc4af
tree7ce82b3575355feb67fdce92bf7ab090ed0bb287
parent2f1feb99a5499510183f398730cddc2a7e7df863
BUG/MINOR: cli: correctly remove the whole table on "clear table"

Joe Price reported that "clear table xxx" sent on the CLI would only clear
the last entry. This is true, some code was missing to remove an entry from
within the loop, and only the final condition was able to remove an entry.
The fix is obvious. No backport is needed.
src/dumpstats.c