mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix DNS test for new function template
This commit is contained in:
parent
dde9c509ed
commit
c13fff3d56
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue