From 0b0ecd4a511e70ba0ac1106bdbb7afa9694b0f68 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 13 Sep 2021 15:11:41 +0500 Subject: [PATCH] bug fix: CP-17 --- firewall/firewallManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewall/firewallManager.py b/firewall/firewallManager.py index 4c653604e..d4197bf5d 100755 --- a/firewall/firewallManager.py +++ b/firewall/firewallManager.py @@ -1476,7 +1476,7 @@ class FirewallManager: protocol = data['protocol'] ports = data['ports'] - portsPath = '/tmp/ports' + portsPath = '/home/cyberpanel/' + str(randint(1000, 9999)) if os.path.exists(portsPath): os.remove(portsPath)