mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update firewall.py
This commit is contained in:
@@ -314,6 +314,7 @@ class Firewall(object):
|
||||
panel_port = mw.getPanelPort()
|
||||
|
||||
if port.find(':') > 0:
|
||||
pass
|
||||
else:
|
||||
if(int(port) == int(panel_port)):
|
||||
return mw.returnData(False, '失败,不能删除当前面板端口!')
|
||||
|
||||
Reference in New Issue
Block a user