aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_sync_client.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-14 17:43:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-14 17:43:51 +0000
commit0e20db33a7519c2c7226c51ebf7dd846b260bc00 (patch)
treeb009e7331aca0207a3761a4dd3bcb0f3e822ece3 /packages/carp_sync_client.php
parent739dd7c3898e06875450540447d2afef59f45cd8 (diff)
downloadpfsense-packages-0e20db33a7519c2c7226c51ebf7dd846b260bc00.tar.gz
pfsense-packages-0e20db33a7519c2c7226c51ebf7dd846b260bc00.tar.bz2
pfsense-packages-0e20db33a7519c2c7226c51ebf7dd846b260bc00.zip
Only invoke sync client if sync is enabled AND a sync ip is defined.
Diffstat (limited to 'packages/carp_sync_client.php')
-rw-r--r--packages/carp_sync_client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index 11dc630a..247b60df 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -29,7 +29,7 @@
if($config['installedpackages']['carpsettings']['config'] != "") {
foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
- if($carp['synchronizerules'] <> "") {
+ if($carp['synchronizerules'] <> "" and $carp['synchronizetoip'] <> "" ) {
/* lets sync! */
$synchronizetoip = $carp['synchronizetoip'];
$current_rules_section = backup_config_section("rules");