aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-31 04:16:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-31 04:16:30 +0000
commitcf24531f445bf786e595339fc3041cc5d45f1b81 (patch)
tree14e1f8d66dc656895c9e6225d3459e7026aeede7
parent1c054632dc311955e7cc0f788273220e343510e4 (diff)
downloadpfsense-packages-cf24531f445bf786e595339fc3041cc5d45f1b81.tar.gz
pfsense-packages-cf24531f445bf786e595339fc3041cc5d45f1b81.tar.bz2
pfsense-packages-cf24531f445bf786e595339fc3041cc5d45f1b81.zip
This file is eval'd. Correct its behavior.
-rw-r--r--packages/carp_sync_client.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index d5c084f6..3cab5f91 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+
<?php
/*
carp_sync.php
@@ -49,25 +49,25 @@ function carp_sync_xml($url, $password, $section, $section_xml, $method = 'pfsen
}
if($already_processed != 1)
- if($config['installedpackages']['carpsettings']['config'] <> "" and
+ if($config['installedpackages']['carpsettings']['config'] != "" and
is_array($config['installedpackages']['carpsettings']['config'])) {
$already_processed = 1;
foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
if($carp['synchronizetoip'] <> "" ) {
$synchronizetoip = $carp['synchronizetoip'];
- if($carp['synchronizerules'] <> "" and is_array($config['filter'])) {
+ if($carp['synchronizerules'] != "" and is_array($config['filter'])) {
$current_rules_section = backup_config_section("filter");
carp_sync_xml($carp['synchronizetoip'], $carp['password'], 'filter', $current_rules_section);
}
- if($carp['synchronizenat'] <> "" and is_array($config['nat'])) {
+ if($carp['synchronizenat'] != "" and is_array($config['nat'])) {
$current_nat_section = backup_config_section("nat");
carp_sync_xml($carp['synchronizetoip'], $carp['password'], 'nat', $current_nat_section);
}
- if($carp['synchronizealiases'] <> "" and is_array($config['aliases'])) {
+ if($carp['synchronizealiases'] != "" and is_array($config['aliases'])) {
$current_aliases_section = backup_config_section("aliases");
carp_sync_xml($carp['synchronizetoip'], $carp['password'], 'alias', $current_aliases_section);
}
- if($carp['synchronizetrafficshaper'] <> "" and is_array($config['shaper'])) {
+ if($carp['synchronizetrafficshaper'] != "" and is_array($config['shaper'])) {
$current_shaper_section = backup_config_section("shaper");
carp_sync_xml($carp['synchronizetoip'], $carp['password'], 'shaper', $current_shaper_section);
}