From 38b6c8c8ca8294c87bce5325fbba50fba1a40465 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 10 Dec 2023 10:45:27 +0100 Subject: Adding upstream version 1.3.0. Signed-off-by: Daniel Baumann --- examples/qr-multi-pcap-state.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/qr-multi-pcap-state.lua') diff --git a/examples/qr-multi-pcap-state.lua b/examples/qr-multi-pcap-state.lua index cf2cf0d..850ea68 100755 --- a/examples/qr-multi-pcap-state.lua +++ b/examples/qr-multi-pcap-state.lua @@ -155,6 +155,10 @@ while true do pcap = pcap.obj_prev end + dns:reset() + if protocol ~= nil and protocol.obj_type == object.TCP then + dns.includes_dnslen = 1 + end dns.obj_prev = obj if pcap ~= nil and transport ~= nil and protocol ~= nil and dns:parse_header() == 0 then transport = transport:cast() -- cgit v1.2.3