From 006fdd7dbd884a35df077c3368a774f6861e669b Mon Sep 17 00:00:00 2001 From: Sefinek Date: Mon, 28 Apr 2025 09:32:42 +0200 Subject: [PATCH] Update --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4efb802..b1030cd 100644 --- a/index.js +++ b/index.js @@ -102,7 +102,7 @@ const processLogLine = async (line, test = false) => { if (!srcIp) return log(`Missing SRC in the log line: ${line}`, 3); const ips = getServerIPs(); - if (!Array.isArray(ips)) return log('For some reason, `ips` from `getServerIPs()` is not an array', 3, true); + if (!Array.isArray(ips)) return log(`For some reason, 'ips' from 'getServerIPs()' is not an array. Received: ${ips}`, 3, true); if (ips.includes(srcIp)) return log(`Ignoring own IP address: PROTO=${proto?.toLowerCase()} SRC=${srcIp} DPT=${dpt} ID=${data.id}`, 2, true); if (isLocalIP(srcIp)) return log(`Ignoring local IP address: PROTO=${proto?.toLowerCase()} SRC=${srcIp} DPT=${dpt} ID=${data.id}`, 2, true);