mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This commit is contained in:
committed by
Tony Murray
parent
a9ad228be4
commit
ed02e39347
@@ -32,7 +32,7 @@ echo '<tr>
|
||||
|
||||
if (!empty($device['ip'])) {
|
||||
echo "<tr><td>Resolved IP</td><td>{$device['ip']}</td></tr>";
|
||||
} elseif ($config['force_ip_to_sysname'] === true) {
|
||||
} elseif ($config['force_ip_to_sysname'] === true && is_ip($device['hostname']) === true) {
|
||||
echo "<tr><td>IP Address</td><td>{$device['hostname']}</td></tr>";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user