diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-07-23 20:03:05 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-07-23 20:03:05 -0400 |
commit | 13ac0f4006414469855d775268fe2055a9878372 (patch) | |
tree | 3bae840639588f94e060d5be85b9839eb78e052a /usr/local/www | |
parent | 6e9dd2ab226ad6ae012599cc19fc2b93756a156b (diff) | |
download | pfsense-13ac0f4006414469855d775268fe2055a9878372.zip pfsense-13ac0f4006414469855d775268fe2055a9878372.tar.gz |
Move hook code up a few lines
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_rules.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index 16dcee6..d8ca4fb 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -177,6 +177,8 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"]) $iflist["openvpn"] = "OpenVPN"; +pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/interfaces_override"); + if (!$if || !isset($iflist[$if])) { if ("any" == $if) $if = "FloatingRules"; @@ -184,8 +186,6 @@ if (!$if || !isset($iflist[$if])) { $if = "wan"; } -pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/interfaces_override"); - if ($_POST) { $pconfig = $_POST; |