diff options
author | Ermal <eri@pfsense.org> | 2010-03-31 17:45:59 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-31 17:45:59 +0000 |
commit | b42edc09faed9f5c769d7ee8e18cfbbae3bf4fb4 (patch) | |
tree | b4f213ddab21f7a0e2f79574cd842f60e901a379 | |
parent | 534e5344ad615959a8eee6b91d727e8509eb7ca7 (diff) | |
download | pfsense-b42edc09faed9f5c769d7ee8e18cfbbae3bf4fb4.zip pfsense-b42edc09faed9f5c769d7ee8e18cfbbae3bf4fb4.tar.gz |
Remove now unused code.
-rw-r--r-- | etc/inc/filter.inc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 709f28f..a4b4eea 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -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" |