mirror of
https://github.com/bol-van/zapret2.git
synced 2026-10-29 06:02:05 +00:00
zapret-pcap: fix keep argument
This commit is contained in:
1 parent
7cdc75d0db
commit
7d1baf6123
1 file changed
+1
-1
+1
-1
@@ -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