commit | 6492e87b0ec24c2320927a16d742528349da7e2d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 06 16:10:09 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 06 17:02:36 2021 +0200 |
tree | 9d57cf595edfa3810879352a62c71e6217ea41b2 | |
parent | 42ed14b529ee090a5e98631a054df36a4695bd7c [diff] |
MINOR: config: add predicates "streq()" and "strneq()" to conditional expressions "streq(str1,str2)" will return true if the two strings match while "strneq(str1,str2)" will return true only if they differ. This is convenient to match an environment variable against a predefined value.