mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
interfaces: hide missing mac info
Ever since wlan devices moved to sysctl net.wlan.devices there is no way to grab a MAC address for any of those listed there.
This commit is contained in:
parent
e12b4ab36e
commit
dfdb51cafb
@ -155,8 +155,8 @@ include("head.inc");
|
||||
<select name="if" class="selectpicker">
|
||||
<?php foreach (get_interface_list() as $ifn => $ifinfo): ?>
|
||||
<?php if (match_wireless_interface($ifn)): ?>
|
||||
<option value="<?=$ifn;?>" <?=$ifn == $pconfig['if'] ? "selected=\"selected\"" : "";?>>
|
||||
<?=htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")");?>
|
||||
<option value="<?= $ifnr ?>" <?= $ifn == $pconfig['if'] ? 'selected="selected"' : '' ?>>
|
||||
<?= html_safe($ifn) ?>
|
||||
</option>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user