Really really fix ARP discovery:

- Observium current humanize_port -> ifLabel
- Another reference to ip_address
This commit is contained in:
Paul Gear
2013-11-02 16:42:05 +10:00
parent f4cf950a6e
commit c1f8a5c2ae
+2 -2
View File
@@ -44,10 +44,10 @@ foreach (dbFetchRows($sql, array($deviceid)) as $entry)
{
global $config;
$ip = $entry['ip_address'];
$ip = $entry['ipv4_address'];
$mac = $entry['mac_address'];
$if = $entry['port_id'];
$int = humanize_port($if);
$int = ifLabel($if);
$label = $int['label'];
// Even though match_network is done inside discover_new_device, we do it here