mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added the lookup of IP if device hostname is a hostname
This commit is contained in:
@@ -30,6 +30,13 @@ echo '<tr>
|
||||
<td>'.$device['sysName'].' </td>
|
||||
</tr>';
|
||||
|
||||
if ($ip = inet6_ntop($device['ip'])) {
|
||||
echo '<tr>
|
||||
<td>Resolved IP</td>
|
||||
<td>'.$ip.'</td>
|
||||
</tr>';
|
||||
}
|
||||
|
||||
if ($device['hardware']) {
|
||||
echo '<tr>
|
||||
<td>Hardware</td>
|
||||
|
||||
Reference in New Issue
Block a user