aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-16 05:54:01 +0000
committerBill Marquette <billm@pfsense.org>2005-03-16 05:54:01 +0000
commit5e5ccdfab4e1471d93de2427e669ef06289066e5 (patch)
treea0b2c0c9899d8eb8977fef6164597d60d1e7c129 /packages
parentb4e9e6241243229a029079dba0b57244979c866f (diff)
downloadpfsense-packages-5e5ccdfab4e1471d93de2427e669ef06289066e5.tar.gz
pfsense-packages-5e5ccdfab4e1471d93de2427e669ef06289066e5.tar.bz2
pfsense-packages-5e5ccdfab4e1471d93de2427e669ef06289066e5.zip
revert last commit - I'm too tired to be debugging this
Diffstat (limited to 'packages')
-rw-r--r--packages/carp_sync_client.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index 311caa3f..f94a04fe 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -30,7 +30,8 @@
if($already_processed != 1)
if($config['installedpackages']['carpsettings']['config'] != "") {
$already_processed = 1;
- if($config['installedpackages']['carpsettings']['config']['synchronizetoip'] <> "" ) {
+ foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
+ if($carp['synchronizetoip'] <> "" ) {
/* lets sync! */
$synchronizetoip = $carp['synchronizetoip'];
if($carp['synchronizerules'] <> "") {
@@ -71,6 +72,7 @@ if($already_processed != 1)
}
/* copy configuration to remote host */
mwexec("/usr/bin/ssh {$synchronizetoip} /usr/local/pkg/carp_sync_server.php");
+ }
}
}