]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] acl: add a new parsing function: parse_dotted_ver
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Jul 2008 14:05:33 +0000 (16:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Jul 2008 08:29:51 +0000 (10:29 +0200)
commit4a26d2f2fa965e4003b3bf28e5c1d601f94f6582
treecd35f91806b470de008f9f09ea25b138629a88ce
parentb686644ad8ae30205946fe662b5badaffc61575a
[MINOR] acl: add a new parsing function: parse_dotted_ver

This new function supports one major and one minor and makes an int of them.
It is very convenient to compare versions (eg: SSL) just as if they were plain
integers, as the comparison functions will still be based on integers.
include/proto/acl.h
src/acl.c