Break from the loop when we run out of interfaces in console 'Assign Interfaces'.

This commit is contained in:
Luiz Souza 2017-10-13 21:13:56 -05:00
parent 286cd23124
commit d326425ec7

View File

@ -165,8 +165,8 @@ EOD;
$optif = array();
if ($lanif <> "") {
while (1) {
if ($optif[$i]) {
while (strlen(trim($ifsmallist)) > 0) {
if (!empty($optif[$i])) {
$i++;
}
$io = $i + 1;