aboutsummaryrefslogtreecommitdiffstats
path: root/config/havp
diff options
context:
space:
mode:
Diffstat (limited to 'config/havp')
-rw-r--r--config/havp/havp.inc12
1 files changed, 1 insertions, 11 deletions
diff --git a/config/havp/havp.inc b/config/havp/havp.inc
index e447066c..e097e122 100644
--- a/config/havp/havp.inc
+++ b/config/havp/havp.inc
@@ -1181,7 +1181,7 @@ function check_bw_domain($_dm) {
* Filter rules
* ------------------------------------------------------------------------------
*/
-function havp_generate_rules($type = 'filter') {
+function havp_generate_rules($type) {
global $config, $havp_config;
$rules = array();
@@ -1262,16 +1262,6 @@ function havp_generate_rules($type = 'filter') {
return implode("\n", $rules);
}
-function havp_filter_update() {
- $newrules = array();
- $newrules[] = "# HAVP Rules Start";
- $newrules[] = havp_generate_rules('nat');
- $newrules[] = havp_generate_rules('filter');
- $newrules[] = "# HAVP Rules End";
- $newrules[] = "";
- return implode("\n", $newrules);
-}
-
/* AV update script */
function havp_update_AV() {
file_put_contents(HVDEF_AVUPD_SCRIPT, havp_AVupdate_script());