MINOR: sample: allow IP address to cast to binary
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Jul 2014 19:03:26 +0000 (21:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Jul 2014 19:36:15 +0000 (21:36 +0200)
commit9700e5c914161a2bf78380bd935e7353ab8a0b50
treea1a396c1331c2654793d1a00884a481b54dd9557
parent5ad6e1dc09f0a85aabf86f154b1817b9ebffb568
MINOR: sample: allow IP address to cast to binary

IP addresses are a perfect example of fixed size data which we could
cast to binary, still it was not allowed by lack of cast function,
eventhough the opposite was allowed in ACLs. Make that possible both
in sample expressions and in stick tables.
src/sample.c
src/stick_table.c