(20250218) Will MikroTik quick rollback URL for easy testing
This commit is contained in:
@@ -520,9 +520,7 @@ class MikroTikHotspot1000Controller(MikroTikController):
|
||||
resources = api_response.data or []
|
||||
total_count, success_count = 0, 0
|
||||
for resource in resources:
|
||||
print("NAT RES:", resource)
|
||||
if mikrotik_client.is_my_config(resource, name_substring = self.NAME_PREFIX):
|
||||
print("IS MINE!")
|
||||
total_count += 1
|
||||
api_response = await mikrotik_client.remove_firewall_nat(resource[".id"], use_https = use_https)
|
||||
if api_response.success: success_count += 1
|
||||
|
||||
Reference in New Issue
Block a user