Update firewall.py

pull/632/head
Mr Chen 6 months ago
parent 2c5ab01237
commit ae016172ea
  1. 2
      web/utils/firewall.py

@ -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)

Loading…
Cancel
Save