aboutsummaryrefslogtreecommitdiffstats
path: root/config/havp
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-20 01:35:35 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-20 01:35:35 +0200
commitd454f570898a8af99f2135f4c72e95806f32890a (patch)
treea628744047ba5af34cb91d6e9439a4660baccca9 /config/havp
parent0cf8a93f5fbc579be31e67178984bbec86cede4d (diff)
downloadpfsense-packages-d454f570898a8af99f2135f4c72e95806f32890a.tar.gz
pfsense-packages-d454f570898a8af99f2135f4c72e95806f32890a.tar.bz2
pfsense-packages-d454f570898a8af99f2135f4c72e95806f32890a.zip
havp - remove leftover debugging stuff
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());