zapret-pcap: fix keep argument

This commit is contained in:
bol-van
2026-03-14 15:17:34 +03:00
parent 7cdc75d0db
commit 7d1baf6123
+1 -1
View File
@@ -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