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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user