commit | 95226db8e406f381fd3df1cb6950dd6fec2ac5fc | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 15 11:34:04 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 27 09:39:38 2020 +0200 |
tree | 8933b8a8958eaae059cdf266904f1e5e3a6fdaa2 | |
parent | 5eb96cbcbc5fecb9d1275ff442e579e97a7f8c2e [diff] |
MINOR: checks: Add a reverse non-comment rule iterator to get last rule the get_last_tcpcheck_rule() function iters on a rule list in the reverse order and returns the first non comment and non action-kw rule. If no such rule is found, NULL is returned.