diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/carp_sync_server.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/carp_sync_server.php b/packages/carp_sync_server.php index 84c5fc82..8fd3e883 100644 --- a/packages/carp_sync_server.php +++ b/packages/carp_sync_server.php @@ -34,12 +34,11 @@ require_once("config.inc"); require_once("xmlparse_pkg.inc"); require_once("filter.inc"); -if($config['installedpackages']['carpsettings']['config'] != "") - foreach($config['installedpackages']['carpsettings']['config'] as $carp) +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"); - $trafficshaper = return_filename_as_string("{$g['tmp_path']}/trafficshaper_section.txt"); + $trafficshaper = return_filename_as_string("{$g['tmp_path']}/shaper_section.txt"); if($rules <> "") { restore_config_section("filter", $rules); unlink("{$g['tmp_path']}/filter_section.txt"); @@ -57,5 +56,6 @@ if($config['installedpackages']['carpsettings']['config'] != "") unlink("{$g['tmp_path']}/shaper_section.txt"); } filter_configure(); +} -?>
\ No newline at end of file +?> |