This commit is contained in:
Ad Schellevis 2017-05-06 09:54:58 +02:00
parent d3492abdef
commit b16ea82258

View File

@ -185,7 +185,15 @@ include("head.inc");
continue;
}?>
<option value="<?=$ifn;?>" <?=$ifn == $pconfig['if'] ? " selected=\"selected\"" : "";?>>
<?=htmlspecialchars($ifn);?> ( <?= !empty($ifinfo['mac']) ? $ifinfo['mac'] :"" ;?> )
<?=htmlspecialchars($ifn);?>
( <?= !empty($ifinfo['mac']) ? $ifinfo['mac'] :"" ;?> )
<?php
if (!empty($ifinfo['friendly'])):?>
[
<?=!empty($config['interfaces'][$ifinfo['friendly']]['descr']) ? htmlspecialchars($config['interfaces'][$ifinfo['friendly']]['descr']) : $ifinfo['friendly'];?>
]
<?php
endif;?>
</option>
<?php
endforeach;?>