Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-20 16:25:49 +00:00

zapret-pcap: fix keep argument

This commit is contained in:
bol-van
2026-03-14 15:17:34 +03:00
parent 7cdc75d0db
commit 7d1baf6123

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