commit | 6a2110c7175a031ff60b9b9769e80c3180ce0f9b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 06 08:19:48 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 06 10:35:03 2021 +0200 |
tree | b675279fa8ca86a42218d83c73b343fd0069547c | |
parent | 71990e6becb0d448915e453e4ce17dde67b8563b [diff] |
MINOR: config: centralize the ".if"/".elif" condition parser and evaluator Instead of duplicating the condition evaluations, let's have a single function cfg_eval_condition() that returns true/false/error. It takes less code and will ease its extension.