diff options
author | Charlie <root@testfbsd8.localdomain> | 2009-07-08 14:45:06 +0000 |
---|---|---|
committer | Charlie <root@testfbsd8.localdomain> | 2009-07-08 14:45:29 +0000 |
commit | cc47995dd0b4f7a44c36a94d6f4feabddc418e12 (patch) | |
tree | d54a022f4a72f025e16d50b6ab708b47e7fbecfe /config/frickin | |
parent | dae4090094c2d03a8659d8a1c2e69763f06139bb (diff) | |
download | pfsense-packages-cc47995dd0b4f7a44c36a94d6f4feabddc418e12.tar.gz pfsense-packages-cc47995dd0b4f7a44c36a94d6f4feabddc418e12.tar.bz2 pfsense-packages-cc47995dd0b4f7a44c36a94d6f4feabddc418e12.zip |
Add needed code to packages to confirm to 2.0 rules for adding firewall rules. NOTE: other packages might need intervention but for now this is the neccessary minimum to remove dependency on pkg-utils.inc on filter.inc
Diffstat (limited to 'config/frickin')
-rw-r--r-- | config/frickin/frickin.inc | 1 | ||||
-rw-r--r-- | config/frickin/frickin.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config/frickin/frickin.inc b/config/frickin/frickin.inc index 8b57b8ae..a79345bb 100644 --- a/config/frickin/frickin.inc +++ b/config/frickin/frickin.inc @@ -127,6 +127,7 @@ function frickin_generate_rules($type) { } break; case 'filter': + case 'rule': $ext_if = get_real_wan_interface(); $rules .= "pass out on $ext_if proto gre from any to any keep state\n"; $rules .= "pass in on $ext_if proto gre from any to any keep state\n"; diff --git a/config/frickin/frickin.xml b/config/frickin/frickin.xml index 497d4cd3..4d1d421d 100644 --- a/config/frickin/frickin.xml +++ b/config/frickin/frickin.xml @@ -86,4 +86,5 @@ <custom_php_deinstall_command> frickin_custom_php_deinstall_command(); </custom_php_deinstall_command> + <filter_rules_needed>frickin_generate_rules</filter_rules_needed> </packagegui> |