Fix IP Display

This commit is contained in:
Daniel Preussker
2016-02-07 15:39:17 +00:00
parent 4d0d78c48c
commit f940c0c888

View File

@@ -30,7 +30,7 @@ echo '<tr>
<td>'.$device['sysName'].' </td>
</tr>';
if ($ip = inet6_ntop($device['ip'])) {
if (!empty($device['ip'])) {
echo '<tr>
<td>Resolved IP</td>
<td>'.$ip.'</td>