From 72c32299a05d0410e8e6f3d1d2146e82d7b1d434 Mon Sep 17 00:00:00 2001 From: gio Date: Thu, 30 Jul 2015 06:27:22 +0000 Subject: [PATCH] Initialize DNS request id to random number --- nmap_dns.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap_dns.cc b/nmap_dns.cc index ec24fc3be..73386a6c6 100644 --- a/nmap_dns.cc +++ b/nmap_dns.cc @@ -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 ---------------------