summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_vlan.php
diff options
context:
space:
mode:
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 5c71fab..fad4e55 100755
--- a/usr/local/www/interfaces_vlan.php
+++ b/usr/local/www/interfaces_vlan.php
@@ -48,7 +48,7 @@ if (!is_array($config['vlans']['vlan']))
$a_vlans = &$config['vlans']['vlan'] ;
function vlan_inuse($num) {
- global $config, $g;
+ global $config, $a_vlans;
$iflist = get_configured_interface_list(false, true);
foreach ($iflist as $if) {
OpenPOWER on IntegriCloud