Remove now unused code.

This commit is contained in:
Ermal 2010-03-31 17:45:59 +00:00
parent 534e5344ad
commit b42edc09fa

View File

@ -896,8 +896,6 @@ function filter_nat_rules_generate() {
global $config, $g, $after_filter_configure_run, $FilterIflist;
$natrules = "nat-anchor \"natearly/*\"\n";
if(file_exists("{$g['tmp_path']}/rules.natearly.packages"))
$natrules .= file_get_contents("{$g['tmp_path']}/rules.natearly.packages");
$natrules .= "nat-anchor \"natrules/*\"\n\n";
update_filter_reload_status("Creating 1:1 rules...");
@ -1060,9 +1058,6 @@ function filter_nat_rules_generate() {
$natrules .= "\n# Load balancing anchor\n";
$natrules .= "rdr-anchor \"relayd/*\"\n";
if(file_exists("{$g['tmp_path']}/rules.rdrearly.packages"))
$natrules .= file_get_contents("{$g['tmp_path']}/rules.rdrearly.packages");
update_filter_reload_status("Setting up TFTP helper");
$natrules .= "# TFTP proxy\n";
$natrules .= "rdr-anchor \"tftp-proxy/*\"\n";
@ -1226,11 +1221,6 @@ EOD;
}
}
if(file_exists("{$g['tmp_path']}/rules.nat.packages"))
$natrules .= file_get_contents("{$g['tmp_path']}/rules.nat.packages");
if(file_exists("{$g['tmp_path']}/rules.rdr.packages"))
$natrules .= file_get_contents("{$g['tmp_path']}/rules.rdr.packages");
$natrules .= discover_pkg_rules("nat");
$natrules .= filter_process_carp_nat_rules();
@ -1754,9 +1744,6 @@ anchor "packageearly"
EOD;
if(file_exists("{$g['tmp_path']}/rules.rulesearly.packages"))
$ipfrules .= file_get_contents("{$g['tmp_path']}/rules.rulesearly.packages");
$ipfrules .= <<<EOD
# carp
@ -2022,9 +2009,6 @@ EOD;
anchor "packagelate"
EOD;
if(file_exists("{$g['tmp_path']}/rules.packages"))
$ipfrules .= file_get_contents("{$g['tmp_path']}/rules.packages");
$ipfrules .= <<<EOD
anchor "limitingesr"