mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Initialize DNS request id to random number
This commit is contained in:
@@ -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 ---------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user