diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-14 17:43:51 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-14 17:43:51 +0000 |
commit | 0e20db33a7519c2c7226c51ebf7dd846b260bc00 (patch) | |
tree | b009e7331aca0207a3761a4dd3bcb0f3e822ece3 | |
parent | 739dd7c3898e06875450540447d2afef59f45cd8 (diff) | |
download | pfsense-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.
-rw-r--r-- | packages/carp_sync_client.php | 2 |
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"); |