From 286aee913c262fbc32e5a487ef9c555b9351a769 Mon Sep 17 00:00:00 2001 From: Ely Deckers Date: Mon, 21 Feb 2022 10:34:19 +0100 Subject: [PATCH] Fix indenting --- pfsense_zbx.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pfsense_zbx.php b/pfsense_zbx.php index 7586003..a9f351e 100644 --- a/pfsense_zbx.php +++ b/pfsense_zbx.php @@ -397,7 +397,8 @@ class Shell public static function read_arp_ips(): array { - exec(implode(" ", [self::ARP, "-an", "|", + exec(implode(" ", [ + self::ARP, "-an", "|", self::AWK, "'{ gsub(/[()]/,\"\") } {print $2}'"]), $arp_data); return $arp_data;