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);
|
||||
|
||||
if (!isset($ipaddr)){
|
||||
$ipaddr = 'Unassigned'
|
||||
$ipaddr = "Unassigned";
|
||||
}
|
||||
if (!isset($mac)){
|
||||
$mac = 'Unavailable'
|
||||
$mac = "Unavailable";
|
||||
}
|
||||
if (strtolower($ifstatus) == "up"){
|
||||
$ifstatus = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user