commit | a43dfda4e12c6cbc4dc5b396d19e02d26d8c2a93 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 06 07:43:35 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 06 17:02:36 2021 +0200 |
tree | 8a340c49674b153bf4aa43b98b905c118369d066 | |
parent | f0d3b732fb9641e4d47530381408354129462766 [diff] |
MINOR: global: add version comparison functions The new function split_version() converts a parsable haproxy version to an array of integers. The function compare_current_version() compares an arbitrary version to the current one. These two functions were written by Thierry Fournier in 2013, and are still usable as-is. They will be used to write config language predicates.