diff options
author | Ermal <eri@pfsense.org> | 2010-03-31 17:43:38 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-31 17:43:38 +0000 |
commit | 534e5344ad615959a8eee6b91d727e8509eb7ca7 (patch) | |
tree | 4f33d7376bc896ca97543f0eb96f2ee0e256bf98 /etc | |
parent | 2f678757bf78bb9525be8f211da8e6a81f5ccf6e (diff) | |
download | pfsense-534e5344ad615959a8eee6b91d727e8509eb7ca7.zip pfsense-534e5344ad615959a8eee6b91d727e8509eb7ca7.tar.gz |
Fix packages rule generation.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
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}"); |