zapret-pcap: improve comment

This commit is contained in:
bol-van committed 2025-11-27 08:48:16 +03:00
1 parent 36a980469f
commit 9ba7ad6263
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ end
-- test case : nfqws2 --qnum 200 --debug --lua-init=@zapret-lib.lua --lua-init=@zapret-pcap.lua --writeable=zdir --in-range=a --lua-desync=pcap:file=test.pcap
-- arg : file=<filename> - file for storing pcap data. if --writeable is specified and filename is relative - append filename to writeable path
-- arg : keep - do not overwrite file
-- arg : keep - do not overwrite file, append packets to existing
function pcap(ctx, desync)
if not desync.arg.file or #desync.arg.file==0 then
error("pcap requires 'file' parameter")