Router OS7.15.3:
If I have an interface, named "BridgeLAN"
and a variable, defined as:
:set BridgeLan BridgeLAN
and then want to set an interface in a firewall filter rule with a script as "not BridgeLAN" how do I get the "!" to show up?
out-interface=!$BridgeLan
out-interface=!($BridgeLan)
and as an act of desperation:
out-interface!=$BridgeLan
out-interface"!"$BridgeLan
out-interface!$BridgeLan
don't work (the line shows a red dot for the error for out-interface)
I want the end result to be saved as (obviously) :
... out-interface=!BridgeLAN
I looked through
https://wiki.mikrotik.com/wiki/Manual:S ... #Variables
and
https://wiki.mikrotik.com/wiki/Manual:S ... and_Tricks
and nothing leaped out at me. Do I have to store the value as
:set BridgeLan !BridgeLAN
(which is awkward as I then need another variable, as I'm also using $BridgeLan in other places)