zapret-pcap: use reconstruct_dissect if under orchestrator

This commit is contained in:
bol-van
2026-02-22 12:48:20 +03:00
parent 2a4195070f
commit 46d4208c76
+2 -1
View File
@@ -34,6 +34,7 @@ function pcap(ctx, desync)
if not f then
error("pcap: could not write to '".._G[fn_cache_name].."'")
end
pcap_write(f, raw_packet(ctx))
local raw = ctx and raw_packet(ctx) or reconstruct_dissect(desync.dis)
pcap_write(f, raw)
f:close()
end