diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2023-12-10 09:45:31 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2023-12-10 09:45:31 +0000 |
commit | f5b47f1a6e9048e72f1e3b0e0f7c03459e20ca66 (patch) | |
tree | b0042536e5ff6047564d27d25470dcec2b92f258 /examples/capture.lua | |
parent | Releasing debian version 1.2.3-3. (diff) | |
download | dnsjit-f5b47f1a6e9048e72f1e3b0e0f7c03459e20ca66.tar.xz dnsjit-f5b47f1a6e9048e72f1e3b0e0f7c03459e20ca66.zip |
Merging upstream version 1.3.0.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rwxr-xr-x | examples/capture.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/capture.lua b/examples/capture.lua index a4b9e75..7ca6854 100755 --- a/examples/capture.lua +++ b/examples/capture.lua @@ -36,6 +36,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() |