1
0
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:
gio
2015-07-30 06:27:22 +00:00
parent 4bf2731f44
commit 72c32299a0

View File

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