aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-16 05:46:18 +0000
committerBill Marquette <billm@pfsense.org>2005-03-16 05:46:18 +0000
commitb4e9e6241243229a029079dba0b57244979c866f (patch)
tree36562525b944a5bee1089f93d08fbac8b960eaa5
parent0cb0207da40121c327e0da6e798adfda393bcd7f (diff)
downloadpfsense-packages-b4e9e6241243229a029079dba0b57244979c866f.tar.gz
pfsense-packages-b4e9e6241243229a029079dba0b57244979c866f.tar.bz2
pfsense-packages-b4e9e6241243229a029079dba0b57244979c866f.zip
Remove extraneous code - I think this is what was intended
-rw-r--r--packages/carp_sync_client.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index f94a04fe..311caa3f 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -30,8 +30,7 @@
if($already_processed != 1)
if($config['installedpackages']['carpsettings']['config'] != "") {
$already_processed = 1;
- foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
- if($carp['synchronizetoip'] <> "" ) {
+ if($config['installedpackages']['carpsettings']['config']['synchronizetoip'] <> "" ) {
/* lets sync! */
$synchronizetoip = $carp['synchronizetoip'];
if($carp['synchronizerules'] <> "") {
@@ -72,7 +71,6 @@ if($already_processed != 1)
}
/* copy configuration to remote host */
mwexec("/usr/bin/ssh {$synchronizetoip} /usr/local/pkg/carp_sync_server.php");
- }
}
}