aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2014-02-24 16:58:44 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2014-02-24 16:58:44 -0300
commitfc67246b7f782047c946016d2db91b90c158d038 (patch)
tree65fd42d41b5ebb5251ba46c259172a7566113e36 /config
parenta3b8ffd89df4ee1440d0053635b9eaf07527da9a (diff)
downloadpfsense-packages-fc67246b7f782047c946016d2db91b90c158d038.tar.gz
pfsense-packages-fc67246b7f782047c946016d2db91b90c158d038.tar.bz2
pfsense-packages-fc67246b7f782047c946016d2db91b90c158d038.zip
varnish3 - fix xmlrpc sync option
Diffstat (limited to 'config')
-rw-r--r--config/varnish3/varnish.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/varnish3/varnish.inc b/config/varnish3/varnish.inc
index 1895d214..2a986710 100644
--- a/config/varnish3/varnish.inc
+++ b/config/varnish3/varnish.inc
@@ -688,7 +688,7 @@ function varnish_sync_on_changes() {
break;
case "auto":
if (is_array($config['hasync'])){
- $hasync=$config['hasync'][0];
+ $hasync=$config['hasync'];
$rs[0]['ipaddress']=$hasync['synchronizetoip'];
$rs[0]['username']=$hasync['username'];
$rs[0]['password']=$hasync['password'];