diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-03 10:02:50 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-03 10:02:50 -0200 |
commit | 55f02c3e35bb5e00625550ae66af3b645ca798ba (patch) | |
tree | 3b37757a5dc313cd8c425467f0b00226954fdc93 | |
parent | ccb3c5bd6e1a61e7ba39e3a3cf705d446c945ea9 (diff) | |
parent | 0a791ef73373f9f0daecbcead95e93cf3ab31f39 (diff) | |
download | pfsense-packages-55f02c3e35bb5e00625550ae66af3b645ca798ba.tar.gz pfsense-packages-55f02c3e35bb5e00625550ae66af3b645ca798ba.tar.bz2 pfsense-packages-55f02c3e35bb5e00625550ae66af3b645ca798ba.zip |
Merge pull request #1128 from doktornotor/patch-12
-rw-r--r-- | config/squid3/31/squid.inc | 8 | ||||
-rwxr-xr-x | config/squid3/33/squid.inc | 8 | ||||
-rw-r--r-- | pkg_config.8.xml | 8 | ||||
-rw-r--r-- | pkg_config.8.xml.amd64 | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/config/squid3/31/squid.inc b/config/squid3/31/squid.inc index d565810c..df900e43 100644 --- a/config/squid3/31/squid.inc +++ b/config/squid3/31/squid.inc @@ -1854,8 +1854,8 @@ function squid_sync_on_changes() { $synctimeout = $squid_sync['synctimeout']; switch ($synconchanges){ case "manual": - if (is_array($squid_sync[row])){ - $rs=$squid_sync[row]; + if (is_array($squid_sync['row'])){ + $rs=$squid_sync['row']; } else{ log_error("[squid] xmlrpc sync is enabled but there is no hosts to push on squid config."); @@ -1863,8 +1863,8 @@ function squid_sync_on_changes() { } break; case "auto": - if (is_array($config['installedpackages']['carpsettings']) && is_array($config['installedpackages']['carpsettings']['config'])){ - $system_carp=$config['installedpackages']['carpsettings']['config'][0]; + if (is_array($config['hasync'])) { + $system_carp = $config['hasync']; $rs[0]['ipaddress']=$system_carp['synchronizetoip']; $rs[0]['username']=$system_carp['username']; $rs[0]['password']=$system_carp['password']; diff --git a/config/squid3/33/squid.inc b/config/squid3/33/squid.inc index 0f71def8..57b49d5f 100755 --- a/config/squid3/33/squid.inc +++ b/config/squid3/33/squid.inc @@ -2314,8 +2314,8 @@ function squid_sync_on_changes() { $synctimeout = $squid_sync['synctimeout']; switch ($synconchanges){ case "manual": - if (is_array($squid_sync[row])){ - $rs=$squid_sync[row]; + if (is_array($squid_sync['row'])){ + $rs=$squid_sync['row']; } else{ log_error("[squid] xmlrpc sync is enabled but there is no hosts to push on squid config."); @@ -2323,8 +2323,8 @@ function squid_sync_on_changes() { } break; case "auto": - if (is_array($config['installedpackages']['carpsettings']) && is_array($config['installedpackages']['carpsettings']['config'])){ - $system_carp=$config['installedpackages']['carpsettings']['config'][0]; + if (is_array($config['hasync'])) { + $system_carp = $config['hasync']; $rs[0]['ipaddress']=$system_carp['synchronizetoip']; $rs[0]['username']=$system_carp['username']; $rs[0]['password']=$system_carp['password']; diff --git a/pkg_config.8.xml b/pkg_config.8.xml index daffa79a..c7122cac 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1141,9 +1141,9 @@ <pkginfolink>https://forum.pfsense.org/index.php/topic,48347.0.html</pkginfolink> <website>http://www.squid-cache.org/</website> <category>Network</category> - <version>3.1.20 pkg 2.1.3</version> + <version>3.1.20 pkg 2.1.4</version> <status>beta</status> - <required_version>2.0</required_version> + <required_version>2.1</required_version> <maintainer>marcellocoutinho@gmail.com fernando@netfilter.com.br seth.mos@dds.nl mfuchs77@googlemail.com jimp@pfsense.org</maintainer> <depends_on_package_base_url>https://files.pfsense.org/packages/8/All/</depends_on_package_base_url> <depends_on_package>squid-3.1.20.tbz</depends_on_package> @@ -1168,9 +1168,9 @@ <pkginfolink>https://forum.pfsense.org/index.php/topic,48347.0.html</pkginfolink> <website>http://www.squid-cache.org/</website> <category>Network</category> - <version>3.3.10 pkg 2.3.0</version> + <version>3.3.10 pkg 2.3.1</version> <status>beta</status> - <required_version>2.0</required_version> + <required_version>2.1</required_version> <maintainer>marcellocoutinho@gmail.com fernando@netfilter.com.br seth.mos@dds.nl mfuchs77@googlemail.com jimp@pfsense.org</maintainer> <depends_on_package_base_url>https://files.pfsense.org/packages/8/All/</depends_on_package_base_url> <depends_on_package>squid-3.3.5.tbz</depends_on_package> diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index b85f1313..11caa6b0 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1128,9 +1128,9 @@ <pkginfolink>https://forum.pfsense.org/index.php/topic,48347.0.html</pkginfolink> <website>http://www.squid-cache.org/</website> <category>Network</category> - <version>3.1.20 pkg 2.1.3</version> + <version>3.1.20 pkg 2.1.4</version> <status>beta</status> - <required_version>2.0</required_version> + <required_version>2.1</required_version> <maintainer>marcellocoutinho@gmail.com fernando@netfilter.com.br seth.mos@dds.nl mfuchs77@googlemail.com jimp@pfsense.org</maintainer> <depends_on_package_base_url>https://files.pfsense.org/packages/amd64/8/All/</depends_on_package_base_url> <depends_on_package>squid-3.1.20.tbz</depends_on_package> @@ -1155,9 +1155,9 @@ <pkginfolink>https://forum.pfsense.org/index.php/topic,48347.0.html</pkginfolink> <website>http://www.squid-cache.org/</website> <category>Network</category> - <version>3.3.10 pkg 2.3.0</version> + <version>3.3.10 pkg 2.3.1</version> <status>beta</status> - <required_version>2.0</required_version> + <required_version>2.1</required_version> <maintainer>marcellocoutinho@gmail.com fernando@netfilter.com.br seth.mos@dds.nl mfuchs77@googlemail.com jimp@pfsense.org</maintainer> <depends_on_package_base_url>https://files.pfsense.org/packages/amd64/8/All/</depends_on_package_base_url> <depends_on_package>squid-3.3.5.tbz</depends_on_package> |