From d454f570898a8af99f2135f4c72e95806f32890a Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sun, 20 Sep 2015 01:35:35 +0200 Subject: havp - remove leftover debugging stuff --- config/havp/havp.inc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'config/havp') 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()); -- cgit v1.2.3