Daniel-Constantin Mierla writes:
For released 3.x, try to see if next piece of cfg
works:
$var(m) = 0 + $rm;
daniel,
the above assignment works, but i need to make a shift before actual
test and that does not work:
$var(m) = 0 + $rm;
$var(m) = $var(m) >> 16;
produces error regarding the second line:
0(17007) : <core> [cfg.y:3437]: parse error in config file
/etc/trunk-proxy/trunk-proxy.cfg, line 871, column 24: syntax error
0(17007) : <core> [cfg.y:3437]: parse error in config file
/etc/trunk-proxy/trunk-proxy.cfg, line 871, column 24: bad expression
any idea why, because according to core cookbook, operator >> does
exist? column 24 refers to second of the >> chars.
http://sip-router.org/wiki/cookbooks/core-cookbook/devel#arithmetic_operatiā¦
-- juha