aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-14 18:13:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-14 18:13:00 +0000
commit17b839d2f6eac0cf6df0a95cb47a9f52029569d3 (patch)
treeb38393670492dd002c134b83069f9641f24b86d8 /packages
parent0e20db33a7519c2c7226c51ebf7dd846b260bc00 (diff)
downloadpfsense-packages-17b839d2f6eac0cf6df0a95cb47a9f52029569d3.tar.gz
pfsense-packages-17b839d2f6eac0cf6df0a95cb47a9f52029569d3.tar.bz2
pfsense-packages-17b839d2f6eac0cf6df0a95cb47a9f52029569d3.zip
* rules -> filter
Diffstat (limited to 'packages')
-rw-r--r--packages/carp_sync_client.php2
-rw-r--r--packages/carp_sync_server.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index 247b60df..12f54afc 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -32,7 +32,7 @@ if($config['installedpackages']['carpsettings']['config'] != "") {
if($carp['synchronizerules'] <> "" and $carp['synchronizetoip'] <> "" ) {
/* lets sync! */
$synchronizetoip = $carp['synchronizetoip'];
- $current_rules_section = backup_config_section("rules");
+ $current_rules_section = backup_config_section("filter");
$current_nat_section = backup_config_section("nat");
$current_aliases_section = backup_config_section("aliases");
/* generate firewall rules xml */
diff --git a/packages/carp_sync_server.php b/packages/carp_sync_server.php
index 63d67dfd..d832691f 100644
--- a/packages/carp_sync_server.php
+++ b/packages/carp_sync_server.php
@@ -40,9 +40,9 @@ if($config['installedpackages']['carpsettings']['config'] != "")
$rules = return_filename_as_string("{$g['tmp_path']}/rules_section.txt");
$aliases = return_filename_as_string("{$g['tmp_path']}/aliases_section.txt");
$nat = return_filename_as_string("{$g['tmp_path']}/nat_section.txt");
- restore_config_section("rules", $rules);
- restore_config_section("nat", $nat);
+ restore_config_section("filter", $rules);
restore_config_section("aliases", $aliases);
+ restore_config_section("nat", $nat);
filter_configure();
}