1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 12:41:29 +00:00

Fix DNS test for new function template

This commit is contained in:
dmiller
2024-07-01 16:17:42 +00:00
parent dde9c509ed
commit c13fff3d56

View File

@@ -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);