-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow question #66
Comments
Also how do you remove the rule?
throws an error: Error when removing items |
RouterOS has a "place-before" property in menus with a move command. When you add, this inserts the new item before the target item. To move an item afterwards, Util has a move() method that works in a similar fashion. See this part in the wiki page about it. The remove of multiple items with a query should work in
|
thank you @boenrobot I did try that initially as well but I keep getting the same error message
|
Found another solution which works like a charm
|
Hi guys. I am a full blooded PHP dev but I suck at mikrotik stuff. I have a task to do the following
"Add 2 rules. Make sure they are inserted (or moved afterwards) before a rule that has a comment "Block access to internet")
I have no idea how to do that using UTIL class.
I can add rules. My problem is how to insert them or move them afterwards before the stated rule..
Thank you!
The text was updated successfully, but these errors were encountered: