[sr-dev] IPv4 and IPv6 binary comparison

Henning Westerholt henning.westerholt at 1und1.de
Thu Apr 28 11:56:38 CEST 2011


On Thursday 28 April 2011, Daniel-Constantin Mierla wrote:
> > Interesting. However, in case the second argument is a pv (i.e.
> > retrieved from a DB) "equal" operator would not work as expected, am I
> > right?
> 
> As mentioned in previous email, not even the above syntax should work as
> expected -- it would be a surprise, maybe due to ser enhancements. But a
> pseudo-variable in the left side implies string or integer comparison.
> But for sure when it is a PV in the right side, then it is not working.

Hi Daniel,

i did another closer check in our cfgs, indeed we use it only with src_ip. For 
the $si we use regular expression operator, which surely works as expected.

Thanks for the clarification,

Henning



More information about the sr-dev mailing list