Update telegraf_pfinterface.php
Missed a semicolon or two
This commit is contained in:
parent
1620b55cce
commit
f6d7894343
@ -20,10 +20,10 @@ foreach ($iflist as $ifname => $friendly) {
|
|||||||
$mac = get_interface_mac($realif);
|
$mac = get_interface_mac($realif);
|
||||||
|
|
||||||
if (!isset($ipaddr)){
|
if (!isset($ipaddr)){
|
||||||
$ipaddr = 'Unassigned'
|
$ipaddr = "Unassigned";
|
||||||
}
|
}
|
||||||
if (!isset($mac)){
|
if (!isset($mac)){
|
||||||
$mac = 'Unavailable'
|
$mac = "Unavailable";
|
||||||
}
|
}
|
||||||
if (strtolower($ifstatus) == "up"){
|
if (strtolower($ifstatus) == "up"){
|
||||||
$ifstatus = 1;
|
$ifstatus = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user