Skip to content

Commit 0b0ecd4

Browse files
committed
bug fix: CP-17
1 parent 166844d commit 0b0ecd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firewall/firewallManager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ def modifyPorts(self, data = None):
14761476
protocol = data['protocol']
14771477
ports = data['ports']
14781478

1479-
portsPath = '/tmp/ports'
1479+
portsPath = '/home/cyberpanel/' + str(randint(1000, 9999))
14801480

14811481
if os.path.exists(portsPath):
14821482
os.remove(portsPath)

0 commit comments

Comments
 (0)