Added mac address to the output
This commit is contained in:
parent
b6b4ac1009
commit
127bd5f9ac
@ -30,10 +30,11 @@ foreach ($iflist as $ifname => $friendly) {
|
||||
}
|
||||
|
||||
if (!empty($ipaddr)) {
|
||||
printf("interfaces,host=%s,name=%s,ip_address=%s,friendlyname=%s,source=%s status=%s\n",
|
||||
printf("interface,host=%s,name=%s,ip_address=%s,mac_address=%s,friendlyname=%s,source=%s status=%s\n",
|
||||
$host,
|
||||
$realif,
|
||||
$ipaddr,
|
||||
$mac,
|
||||
$friendly,
|
||||
$source,
|
||||
$ifstatus
|
||||
|
Loading…
x
Reference in New Issue
Block a user