Update telegraf_pfinterface.php

Missed a semicolon or two
This commit is contained in:
VictorRobellini
2020-04-05 01:12:55 -04:00
committed by GitHub
parent 1620b55cce
commit f6d7894343

View File

@@ -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;
@@ -51,4 +51,4 @@ foreach ($iflist as $ifname => $friendly) {
$ifstatus
);
}
?>
?>