summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_vlan.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-24 14:18:38 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-24 14:18:38 +0000
commit3feef69db52801ddd34f43a038623086bf6a12b4 (patch)
tree5202093a7d920a58f49bcca040a96fba625a865d /usr/local/www/interfaces_vlan.php
parentd0c04a66039ede30020b03b7f1c795a368f8d073 (diff)
downloadpfsense-3feef69db52801ddd34f43a038623086bf6a12b4.zip
pfsense-3feef69db52801ddd34f43a038623086bf6a12b4.tar.gz
Fix vlan_in_use function.
Diffstat (limited to 'usr/local/www/interfaces_vlan.php')
-rwxr-xr-xusr/local/www/interfaces_vlan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_vlan.php b/usr/local/www/interfaces_vlan.php
index 35590c0..ae84af5 100755
--- a/usr/local/www/interfaces_vlan.php
+++ b/usr/local/www/interfaces_vlan.php
@@ -41,7 +41,7 @@ function vlan_inuse($num) {
$iflist = get_configured_interface_list(false, true);
foreach ($iflist as $if) {
- if ($config['interfaces'][$if]['if'] == "vlan{$num}")
+ if ($config['interfaces'][$if]['if'] == $a_vlans[$num]['vlanif'])
return true;
}
OpenPOWER on IntegriCloud