From 7d1baf6123769ace2331284ce83ef14d54a473ef Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 14 Mar 2026 15:17:34 +0300 Subject: [PATCH] zapret-pcap: fix keep argument --- lua/zapret-pcap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/zapret-pcap.lua b/lua/zapret-pcap.lua index a6038fd..ee28390 100644 --- a/lua/zapret-pcap.lua +++ b/lua/zapret-pcap.lua @@ -8,7 +8,7 @@ function pcap_write_packet(file, raw) file:write(raw) end function pcap_write(file, raw) - local pos = file:seek() + local pos = file:seek('end') if (pos==0) then pcap_write_header(file) end