mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Move hook code up a few lines
This commit is contained in:
parent
7a7ec6f4a8
commit
4a6cf823f3
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user