aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_sync_client.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-16 05:27:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-16 05:27:13 +0000
commitbb0b58904a40cd007995fbfd9529398cd4b0417a (patch)
tree44bff7402e3c61c6bb684c91b72de0955fc561d3 /packages/carp_sync_client.php
parentc6ca47842d448e0d71e5dc7f52888de034fb65ce (diff)
downloadpfsense-packages-bb0b58904a40cd007995fbfd9529398cd4b0417a.tar.gz
pfsense-packages-bb0b58904a40cd007995fbfd9529398cd4b0417a.tar.bz2
pfsense-packages-bb0b58904a40cd007995fbfd9529398cd4b0417a.zip
Make all area names consistent and fix a few c/p errors
Diffstat (limited to 'packages/carp_sync_client.php')
-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 b56c72e3..f7c9e90a 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -37,10 +37,10 @@ if($already_processed != 1)
if($carp['synchronizerules'] <> "") {
$current_rules_section = backup_config_section("filter");
/* generate firewall rules xml */
- $fout = fopen("{$g['tmp_path']}/rules_section.txt","w");
+ $fout = fopen("{$g['tmp_path']}/filter_section.txt","w");
fwrite($fout, $current_rules_section);
fclose($fout);
- mwexec("/usr/bin/scp {$g['tmp_path']}/rules_section.txt root@{$synchronizetoip}:/tmp/");
+ mwexec("/usr/bin/scp {$g['tmp_path']}/filter_section.txt root@{$synchronizetoip}:/tmp/");
unlink("{$g['tmp_path']}/rules_section.txt");
}
if($carp['synchronizenat'] <> "") {
@@ -64,15 +64,15 @@ if($already_processed != 1)
if($carp['synchronizetrafficshaper'] <> "") {
$current_trafficshaper_section = backup_config_section("shaper");
/* generate aliases xml */
- $fout = fopen("{$g['tmp_path']}/trafficshaper_section.txt","w");
+ $fout = fopen("{$g['tmp_path']}/shaper_section.txt","w");
fwrite($fout, $current_trafficshaper_section);
fclose($fout);
- mwexec("/usr/bin/scp {$g['tmp_path']}/trafficshaper_section.txt root@{$synchronizetoip}:/tmp/");
- unlink("{$g['tmp_path']}/trafficshaper_section.txt");
+ mwexec("/usr/bin/scp {$g['tmp_path']}/shaper_section.txt root@{$synchronizetoip}:/tmp/");
+ unlink("{$g['tmp_path']}/shaper_section.txt");
}
/* copy configuration to remote host */
mwexec("/usr/bin/ssh {$synchronizetoip} /usr/local/pkg/carp_sync_server.php");
}
}
}
-
+