Update firewall.py
This commit is contained in:
parent
cfd7030d00
commit
d5678d3f34
|
|
@ -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, '失败,不能删除当前面板端口!')
|
||||
|
|
|
|||
Loading…
Reference in New Issue