summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-01-15 01:19:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-01-15 01:19:00 +0000
commitc13dc26e4149d87f92728fb546f67ecac22ea9fc (patch)
tree0a459fde5a04e059fbb52bb26cb04ec948b47956 /etc
parente0aa1bf1260b91ad32d0fd08ccc3011b30f36122 (diff)
downloadpfsense-c13dc26e4149d87f92728fb546f67ecac22ea9fc.zip
pfsense-c13dc26e4149d87f92728fb546f67ecac22ea9fc.tar.gz
* Use correct package name
* Include filter rules
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index e40e771..eaec1db 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1352,9 +1352,9 @@ EOD;
$natrules .= frickin_generate_rules('nat');
}
- if (is_package_installed('sipproxd') && file_exists('/usr/local/pkg/sipproxd.inc')) {
+ if (is_package_installed('siproxd') && file_exists('/usr/local/pkg/sipproxd.inc')) {
require_once('sipproxd.inc');
- $natrules .= squid_generate_rules('nat');
+ $natrules .= siproxd_generate_rules('nat');
}
$natrules .= process_carp_nat_rules();
@@ -2247,6 +2247,11 @@ function filter_rules_generate() {
require_once ('frickin.inc');
$ipfrules .= frickin_generate_rules('filter');
}
+
+ if (is_package_installed('siproxd') && file_exists('/usr/local/pkg/sipproxd.inc')) {
+ require_once('sipproxd.inc');
+ $ipfrules .= siproxd_generate_rules('filter');
+ }
/* if captive portal is enabled, ensure that access to this port
* is allowed on a locked down interface
OpenPOWER on IntegriCloud