Here we can put the differences in scripting between v6 an v7 so if there thing not working anymore you can take a peek here if it already know. It saves a lot of keyboard from breakage by hitting with them on the monitor…flatscreen.
Please no discussions and just state the changes like underneath.
v6
/ip firewall nat> :put "$[:len [find routing-mark="Leak-IKEV" ]]"
2
/ip firewall nat> :put "$[:len [find routing-mark "Leak-IKEV" ]]"
0
v7
/ip firewall nat> :put "$[:len [find routing-mark="Leak-IKEV" ]]"
0
/ip firewall nat> :put "$[:len [find routing-mark "Leak-IKEV" ]]"
2
Exactly reversed behavior here.
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.
/ip firewall nat> :put "$[:len [find routing-mark~"Leak-IKEV" ]]"