diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-16 05:43:09 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-16 05:43:09 +0000 |
commit | 0cb0207da40121c327e0da6e798adfda393bcd7f (patch) | |
tree | a0b2c0c9899d8eb8977fef6164597d60d1e7c129 /packages/carp_sync_server.php | |
parent | 5e134b9edab5a2b529705db9d905d5c106eb9717 (diff) | |
download | pfsense-packages-0cb0207da40121c327e0da6e798adfda393bcd7f.tar.gz pfsense-packages-0cb0207da40121c327e0da6e798adfda393bcd7f.tar.bz2 pfsense-packages-0cb0207da40121c327e0da6e798adfda393bcd7f.zip |
shaper should sync now
make the if() actually work and remove bogus foreach that was probably intended to do something else
Diffstat (limited to 'packages/carp_sync_server.php')
-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 +?> |