From 780b052802f68285b357f0e850360389f9ed004f Mon Sep 17 00:00:00 2001 From: Sefinek Date: Tue, 18 Mar 2025 22:33:52 +0100 Subject: [PATCH] Update --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0080366..726abff 100644 --- a/index.js +++ b/index.js @@ -45,7 +45,7 @@ const processLogLine = async (line, test = false) => { date: parseTimestamp(line), // Log timestamp srcIp: line.match(/SRC=([\d.]+)/)?.[1] || null, // Source IP address dstIp: line.match(/DST=([\d.]+)/)?.[1] || null, // Destination IP address - proto: line.match(/PROTO=(\S+)/)?.[1] || null, // Protocol (TCP, UDP, ICMP, etc.) + proto: line.match(/PROTO=(\S+)/)?.[1] || null, // Protocol (TCP, UDP, etc.) spt: toNumber(line, /SPT=(\d+)/), // Source port dpt: toNumber(line, /DPT=(\d+)/), // Destination port in: line.match(/IN=(\w+)/)?.[1] || null, // Input interface