Make sure access rules come after acls

This commit is contained in:
Jamie Cameron
2007-12-07 19:49:19 +00:00
parent 5197fe05f1
commit cd49285668
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ else {
if ($http) { splice(@https, &indexof($http, @https), 1, $newhttp); }
else { push(@https, $newhttp); }
}
&save_directive($conf, "http_access", \@https);
&save_directive($conf, "http_access", \@https, "acl");
&flush_file_lines();
&unlock_file($config{'squid_conf'});
&webmin_log($in{'delete'} ? 'delete' : $http ? 'modify' : 'create', "http");

View File

@@ -26,7 +26,7 @@ else {
if ($icp) { splice(@icps, &indexof($icp, @icps), 1, $newicp); }
else { push(@icps, $newicp); }
}
&save_directive($conf, "icp_access", \@icps);
&save_directive($conf, "icp_access", \@icps, "acl");
&flush_file_lines();
&unlock_file($config{'squid_conf'});
&webmin_log($in{'delete'} ? 'delete' : $icp ? 'modify' : 'create', "icp");