From f6d7894343ff12a0cb35e04d7264ae27f7dc3753 Mon Sep 17 00:00:00 2001 From: VictorRobellini <39597627+VictorRobellini@users.noreply.github.com> Date: Sun, 5 Apr 2020 01:12:55 -0400 Subject: [PATCH] Update telegraf_pfinterface.php Missed a semicolon or two --- plugins/telegraf_pfinterface.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +?>