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:
@@ -72,7 +72,7 @@ class Firewall(object):
|
||||
|
||||
if not is_same:
|
||||
t = {}
|
||||
t['port'] = info[0]
|
||||
t['port'] = info[0].replace('-',':')
|
||||
t['protocol'] = info[1]
|
||||
ports_all.append(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user