Please no discussions and just state the changes like underneath.
v6
Code: Select all
/ip firewall nat> :put "$[:len [find routing-mark="Leak-IKEV" ]]"
2
/ip firewall nat> :put "$[:len [find routing-mark "Leak-IKEV" ]]"
0
v7
Code: Select all
/ip firewall nat> :put "$[:len [find routing-mark="Leak-IKEV" ]]"
0
/ip firewall nat> :put "$[:len [find routing-mark "Leak-IKEV" ]]"
2
In answer to mrz: this will work on v6 and v7. I use this to check if there are only two of them and if more, remove all matching en add these two lines.
Code: Select all
/ip firewall nat> :put "$[:len [find routing-mark~"Leak-IKEV" ]]"