From c13fff3d569a2b486e5fe5a01b24b3fb1f15bb2b Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 1 Jul 2024 16:17:42 +0000 Subject: [PATCH] Fix DNS test for new function template --- tests/nmap_dns_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nmap_dns_test.cc b/tests/nmap_dns_test.cc index e81ef3214..169924190 100644 --- a/tests/nmap_dns_test.cc +++ b/tests/nmap_dns_test.cc @@ -81,7 +81,7 @@ o.debugging = 1; DNS::RECORD_TYPE rt = DNS::A; const size_t buflen = 1500; u8 buf[buflen]; - size_t reqlen = DNS::Factory::buildSimpleRequest(target, rt, buf, buflen); + size_t reqlen = DNS::Factory::buildSimpleRequest(0xdead, target, rt, buf, buflen); DNS::Packet p; size_t plen = p.parseFromBuffer(buf, buflen);