mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
show real interface names
This commit is contained in:
parent
3f63e8e20b
commit
6499a7d5d9
@ -90,8 +90,9 @@ $count = count($ifdescrs);
|
||||
if ($count > 1) {
|
||||
echo "Available interfaces:\n\n";
|
||||
$x=1;
|
||||
foreach($ifdescrs as $iface) {
|
||||
echo "{$x} - {$iface}\n";
|
||||
foreach($ifdescrs as $iface => $ifdescr) {
|
||||
$realif = $config['interfaces'][$iface]['if'];
|
||||
echo "{$x} - {$ifdescr} ({$realif})\n";
|
||||
$x++;
|
||||
}
|
||||
echo "\nEnter the number of the interface you wish to configure: ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user