The following works fine the in the Mikrotik Terminal. But I cant get it to work via the API. How would I do the following:
Code: Select all
:foreach user in=[/ip firewall address-list find find address=10.2.2.2] do={
/ip firewall address-list disable $user
}
Code: Select all
ip firewall address-list disable [/ip firewall address-list find address=10.2.2.2]