Update firewall.py

This commit is contained in:
Mr Chen 2024-11-25 03:08:33 +08:00
parent cfd7030d00
commit d5678d3f34
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ class Firewall(object):
if port.find(':') > 0:
pass
elif port.find('-') > 0:
pass
else:
if(int(port) == int(panel_port)):
return mw.returnData(False, '失败,不能删除当前面板端口!')