mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove now unused code.
This commit is contained in:
parent
534e5344ad
commit
b42edc09fa
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user