diff --git a/plugins/telegraf_pfinterface.php b/plugins/telegraf_pfinterface.php index 1e44c73..ebebc72 100755 --- a/plugins/telegraf_pfinterface.php +++ b/plugins/telegraf_pfinterface.php @@ -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 ); } -?> \ No newline at end of file +?>