aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
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();
}