aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid-reverse
diff options
context:
space:
mode:
authorMartin Fuchs <martin.fuchs@trendchiller.com>2011-09-27 22:27:57 +0200
committerMartin Fuchs <martin.fuchs@trendchiller.com>2011-09-27 22:27:57 +0200
commit3a9cd05d2d1aa5f49ede2ab93ab796ca099402bd (patch)
tree2456a9c57036d375ac4e83da9158cd287606a98a /config/squid-reverse
parentff3490f72ab7ac9cfb30fd0e415cbcb69a4b6cd5 (diff)
downloadpfsense-packages-3a9cd05d2d1aa5f49ede2ab93ab796ca099402bd.tar.gz
pfsense-packages-3a9cd05d2d1aa5f49ede2ab93ab796ca099402bd.tar.bz2
pfsense-packages-3a9cd05d2d1aa5f49ede2ab93ab796ca099402bd.zip
basics for squid_resync_reverse
Diffstat (limited to 'config/squid-reverse')
-rw-r--r--config/squid-reverse/squid.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index 2784dd25..ffd17569 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -936,6 +936,16 @@ EOD;
return $conf;
}
+function squid_resync_reverse() {
+ global $config, $valid_acls;
+ if(!is_array($valid_acls))
+ return;
+ $settings = $config['installedpackages']['squidreverse']['config'][0];
+ $conf = '';
+
+ return $conf;
+}
+
function squid_resync_auth() {
global $config, $valid_acls;
@@ -1109,6 +1119,7 @@ function squid_resync() {
$conf .= squid_resync_upstream() . "\n";
$conf .= squid_resync_nac() . "\n";
$conf .= squid_resync_traffic() . "\n";
+ $conf .= squid_resync_reverse() . "\n";
$conf .= squid_resync_auth();
squid_resync_users();
squid_write_rcfile();