aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/squid_ng.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc
index 47a19635..02e152d0 100644
--- a/packages/squid_ng.inc
+++ b/packages/squid_ng.inc
@@ -471,6 +471,7 @@ function global_write_squid_config()
if (isset($allowed_subnets) && ($allowed_subnets !== "")) {
if (!file_exists($acldir)) {
mwexec("/bin/mkdir -p " . $acldir);
+ mwexec("touch {$acldir}/src_subnets.acl");
}
$aclout = fopen($acldir . "/src_subnets.acl","w");