summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-05-04 23:03:33 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-05-04 23:03:33 -0400
commit90ba56adcad9958a92daeb0293a0aa567a383e7f (patch)
treeccc0a0d56bbd374db1cf0f50cf1073ed901823f2 /usr
parent030f88e83e778981979266f66effa58ebd311582 (diff)
downloadpfsense-90ba56adcad9958a92daeb0293a0aa567a383e7f.zip
pfsense-90ba56adcad9958a92daeb0293a0aa567a383e7f.tar.gz
Move interface groups after Floating and before other interfaces
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index 0bce648..d5e6d6b 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -54,6 +54,12 @@ if ($_POST['if'])
$ifdescs = get_configured_interface_with_descr();
+/* add group interfaces */
+if (is_array($config['ifgroups']['ifgroupentry']))
+ foreach($config['ifgroups']['ifgroupentry'] as $ifgen)
+ if (have_ruleint_access($ifgen['ifname']))
+ $iflist[$ifgen['ifname']] = $ifgen['ifname'];
+
foreach ($ifdescs as $ifent => $ifdesc)
if(have_ruleint_access($ifent))
$iflist[$ifent] = $ifdesc;
@@ -79,12 +85,6 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['mobileclients']
if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"])
$iflist["openvpn"] = "OpenVPN";
-/* add group interfaces */
-if (is_array($config['ifgroups']['ifgroupentry']))
- foreach($config['ifgroups']['ifgroupentry'] as $ifgen)
- if (have_ruleint_access($ifgen['ifname']))
- $iflist[$ifgen['ifname']] = $ifgen['ifname'];
-
if (!$if || !isset($iflist[$if])) {
if ("any" == $if)
$if = "FloatingRules";
OpenPOWER on IntegriCloud