diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-07-23 20:03:26 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-07-23 20:03:26 -0400 |
commit | 4a6cf823f3f7ae4ef9b52e27feed4e6b4c92a78d (patch) | |
tree | 7353f30ba5ac7d512f9eba251d9480fba34ba734 /usr/local | |
parent | 7a7ec6f4a823571b701110fb9874dee4b46a7b87 (diff) | |
download | pfsense-4a6cf823f3f7ae4ef9b52e27feed4e6b4c92a78d.zip pfsense-4a6cf823f3f7ae4ef9b52e27feed4e6b4c92a78d.tar.gz |
Move hook code up a few lines
Diffstat (limited to 'usr/local')
-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 0c68c7b..dab13dd 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; |