From 5ff692d12b9755df01d4523c61df7b048a62bdaa Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sun, 27 Apr 2025 02:38:52 +0200 Subject: [PATCH] Update `EXTENDED_LOGS` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 966bc57..bd7c720 100644 --- a/index.js +++ b/index.js @@ -128,7 +128,7 @@ const processLogLine = async (line, test = false) => { 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); if (proto === 'UDP') { - if (EXTENDED_LOGS) log(`Skipping UDP traffic: SRC=${srcIp} DPT=${dpt} ID=${data.id}`, 0, true); + if (EXTENDED_LOGS) log(`Skipping UDP traffic: SRC=${srcIp} DPT=${dpt} ID=${data.id}`, 0, EXTENDED_LOGS); return; }