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/dumpdns.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/dumpdns.lua') diff --git a/examples/dumpdns.lua b/examples/dumpdns.lua index 3b90034..3eab4f4 100755 --- a/examples/dumpdns.lua +++ b/examples/dumpdns.lua @@ -47,6 +47,10 @@ while true do protocol = protocol.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 transport ~= nil and protocol ~= nil then transport = transport:cast() -- cgit v1.2.3