From 438eed41bb8250b7c14a2f7a8f09c79d6173b449 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Tue, 18 Mar 2025 21:46:37 +0100 Subject: [PATCH] Fixes --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a09eb87..dca517f 100644 --- a/index.js +++ b/index.js @@ -43,8 +43,8 @@ const processLogLine = async line => { proto: line.match(/PROTO=(\S+)/)?.[1] || null, // Protocol (TCP, UDP, ICMP, etc.) spt: line.match(/SPT=(\d+)/)?.[1] || null, // Source port dpt: line.match(/DPT=(\d+)/)?.[1] || null, // Destination port - in: line.match(/IN=([\w]+)/)?.[1] || null, // Input interface - out: line.match(/OUT=([\w]+)/)?.[1] || null, // Output interface + in: line.match(/IN=(\w+)/)?.[1] || null, // Input interface + out: line.match(/OUT=(\w+)/)?.[1] || null, // Output interface mac: line.match(/MAC=([\w:]+)/)?.[1] || null, // MAC address len: line.match(/LEN=(\d+)/)?.[1] || null, // Packet length ttl: line.match(/TTL=(\d+)/)?.[1] || null, // Time to live