Added the lookup of IP if device hostname is a hostname

This commit is contained in:
laf
2016-01-17 23:59:51 +00:00
parent e380cc5100
commit 49adff3895
5 changed files with 55 additions and 0 deletions

View File

@@ -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>