Update firewall_api.py

This commit is contained in:
midoks
2023-09-26 21:34:38 +08:00
parent 33fe1095d7
commit a9530b0630
+1
View File
@@ -180,6 +180,7 @@ class firewall_api:
msg = mw.getInfo('删除防火墙放行端口[{1}][{2}]成功!', (port, protocol,))
mw.writeLog("防火墙管理", msg)
mw.M('firewall').where("port=?", (port,)).delete()
self.firewallReload()
return True