mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Don't skip disabled interfaces when checking which are assigned.
This commit is contained in:
parent
5e2ca757a9
commit
ce075a0fd4
@ -48,7 +48,7 @@ $a_clones = &$config['wireless']['clone'] ;
|
||||
function clone_inuse($cloneif) {
|
||||
global $config;
|
||||
|
||||
$iflist = get_configured_interface_list(false, true);
|
||||
$iflist = get_configured_interface_list();
|
||||
foreach ($iflist as $if) {
|
||||
if ($config['interfaces'][$if]['if'] == $cloneif)
|
||||
return true;
|
||||
|
||||
@ -48,7 +48,7 @@ $a_clones = &$config['wireless']['clone'];
|
||||
function clone_inuse($cloneif) {
|
||||
global $config;
|
||||
|
||||
$iflist = get_configured_interface_list(false, true);
|
||||
$iflist = get_configured_interface_list();
|
||||
foreach ($iflist as $if) {
|
||||
if ($config['interfaces'][$if]['if'] == $cloneif)
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user