commit | d31d6eb89a5366a7dcff638c621a9fbaf8c51407 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jan 26 18:01:41 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jan 26 18:05:48 2010 +0100 |
tree | 8928721f32413dbcf712da84a163d99fcb78f937 | |
parent | 9e92d327f7b6351d21ca4707ead8dc9aa914b398 [diff] |
[MINOR] pattern: add the "ipmask()" converting function This converter can be applied on top of an IPv4-type pattern. It applies a netmask which is suited for IP address storage and matching. This can be used to make all hosts within a certain mask to share the same table entries and as such use the same server. The mask can be passed in dotted form (eg: 255.255.255.0) or in CIDR form (eg: 24).