summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-03-31 17:43:38 +0000
committerErmal <eri@pfsense.org>2010-03-31 17:43:38 +0000
commit534e5344ad615959a8eee6b91d727e8509eb7ca7 (patch)
tree4f33d7376bc896ca97543f0eb96f2ee0e256bf98 /etc
parent2f678757bf78bb9525be8f211da8e6a81f5ccf6e (diff)
downloadpfsense-534e5344ad615959a8eee6b91d727e8509eb7ca7.zip
pfsense-534e5344ad615959a8eee6b91d727e8509eb7ca7.tar.gz
Fix packages rule generation.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 0486762..709f28f 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2449,7 +2449,7 @@ function discover_pkg_rules($ruletype) {
continue;
update_filter_reload_status("Checking for {$ruletype} PF hooks in package {$pkg_inc}");
require_once($pkg_inc);
- $pkg = basename($pkg_inc);
+ $pkg = basename($pkg_inc, ".inc");
$pkg_generate_rules = "{$pkg}_generate_rules";
if(function_exists($pkg_generate_rules)) {
update_filter_reload_status("Processing early {$ruletype} rules for package {$pkg_inc}");
OpenPOWER on IntegriCloud