Regression #11510 ยป diag_arp.inc.diff
src/etc/inc/web/diag_arp.inc | ||
---|---|---|
59 | 59 |
$dhcpip = array(); |
60 | 60 | |
61 | 61 |
foreach ($leases['lease'] as $value) { |
62 |
$dhcpmac[$value['mac']] = $value['hostname']; |
|
63 |
$dhcpip[$value['ip']] = $value['hostname']; |
|
62 |
if ($value["act"] != "expired") |
|
63 |
{ |
|
64 |
$dhcpmac[$value['mac']] = $value['hostname']; |
|
65 |
$dhcpip[$value['ip']] = $value['hostname']; |
|
66 |
} |
|
64 | 67 |
} |
65 | 68 | |
66 | 69 |
$arp_table = system_get_arp_table(); |