mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Initialize DNS request id to random number
This commit is contained in:
parent
4bf2731f44
commit
72c32299a0
1 changed files with 1 additions and 1 deletions
|
|
@ -877,7 +877,7 @@ public:
|
|||
}
|
||||
|
||||
|
||||
u16 DNS::Factory::progressiveId = 0; // TODO: Initialize to random when in production
|
||||
u16 DNS::Factory::progressiveId = get_random_u16();
|
||||
|
||||
//------------------- Globals ---------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue