mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Next virtual interface is always one greater than the last one
This commit is contained in:
@@ -147,7 +147,7 @@ if (&has_command("ip")) {
|
||||
$vifc{'edit'} = ($vifc{'name'} !~ /^ppp/);
|
||||
$vifc{'index'} = scalar(@rv);
|
||||
push(@rv, \%vifc);
|
||||
$i++;
|
||||
$i = $vn + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user