Bug #366 » 0002-Fix-scope-problem-in-_inuse-functions-on-some-of-th.patch
usr/local/www/interfaces_bridge.php | ||
---|---|---|
47 | 47 |
$a_bridges = &$config['bridges']['bridged'] ; |
48 | 48 | |
49 | 49 |
function bridge_inuse($num) { |
50 |
global $config; |
|
50 |
global $config, $a_bridges;
|
|
51 | 51 | |
52 | 52 |
$iflist = get_configured_interface_list(false, true); |
53 | 53 |
foreach ($iflist as $if) { |
usr/local/www/interfaces_gif.php | ||
---|---|---|
47 | 47 |
$a_gifs = &$config['gifs']['gif'] ; |
48 | 48 | |
49 | 49 |
function gif_inuse($num) { |
50 |
global $config; |
|
50 |
global $config, $a_gifs;
|
|
51 | 51 | |
52 | 52 |
$iflist = get_configured_interface_list(false, true); |
53 | 53 |
foreach ($iflist as $if) { |
usr/local/www/interfaces_gre.php | ||
---|---|---|
47 | 47 |
$a_gres = &$config['gres']['gre'] ; |
48 | 48 | |
49 | 49 |
function gre_inuse($num) { |
50 |
global $config; |
|
50 |
global $config, $a_gres;
|
|
51 | 51 | |
52 | 52 |
$iflist = get_configured_interface_list(false, true); |
53 | 53 |
foreach ($iflist as $if) { |
usr/local/www/interfaces_qinq.php | ||
---|---|---|
46 | 46 |
$a_qinqs = &$config['qinqs']['qinqentry']; |
47 | 47 | |
48 | 48 |
function qinq_inuse($num) { |
49 |
global $config, $g;
|
|
49 |
global $config, $a_qinqs;
|
|
50 | 50 | |
51 | 51 |
$iflist = get_configured_interface_list(false, true); |
52 | 52 |
foreach ($iflist as $if) { |
usr/local/www/interfaces_vlan.php | ||
---|---|---|
48 | 48 |
$a_vlans = &$config['vlans']['vlan'] ; |
49 | 49 | |
50 | 50 |
function vlan_inuse($num) { |
51 |
global $config, $g;
|
|
51 |
global $config, $a_vlans;
|
|
52 | 52 | |
53 | 53 |
$iflist = get_configured_interface_list(false, true); |
54 | 54 |
foreach ($iflist as $if) { |
- « Previous
- 1
- 2
- 3
- Next »