BUG/MINOR: stats: Fix Lua's `get_stats` function
Lua's `get_stats` function stopped working in
4cfb0019e65bce79953164eddf54c1bbb61add62, due to the addition a new field
ST_F_PROTO without a corresponding entry in `stat_fields`.
Fix the issue by adding the entry, like
a46b142e8807ea640e041d3a29e3fd427844d559 did previously for a different field.
This patch fixes GitHub Issue #2174, it should be backported to 2.8.
(cherry picked from commit 33a4461fa9a0a57f33a0c34055c1592cf70fca38)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed