"Not-Equal" operator in ROS parameter using Variable
Posted: Thu Jun 04, 2015 7:08 pm
"Not-Equal" operator for e.g. "in-interface" works fine
"Equal" operator using variable also works fine
"Not-Equal" operator is not accepted using variable
Thank you in advance!
Code: Select all
/ip firewall filter> :local iface e5 ; add in-interface=!e5 chain=prerouting
Code: Select all
/ip firewall filter> :local iface e5 ; add in-interface=$iface chain=prerouting
Code: Select all
/ip firewall filter> :local iface e5 ; add in-interface=!$iface chain=prerouting
expected interface value (line 1 column 37)
/ip firewall filter> :local iface e5 ; add in-interface=!($iface) chain=prerouting
expected interface value (line 1 column 37)
/ip firewall filter> :local iface e5 ; add in-interface!=($iface) chain=prerouting
expected end of command (line 1 column 23)