Update firewall.py

This commit is contained in:
Mr Chen
2024-11-27 01:50:47 +08:00
parent 2c5ab01237
commit ae016172ea
+1 -1
View File
@@ -285,7 +285,7 @@ class Firewall(object):
# 添加放行端口
def addAcceptPort(self, port, ps, stype,
protocol: str | None ='tcp'
protocol='tcp'
):
if not self.getFwStatus():
self.setFw(0)