diff --git a/CHANGELOG b/CHANGELOG index f5b983e63..05d5d446e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ # Nmap Changelog ($Id$); -*-text-*- +o Fix reverse DNS on Windows which was failing with the message "mass_dns: + warning: Unable to determine any DNS servers." This was because the interface + GUID comparison needed to be done case-insensitive. [Robert Croteau] + o [Ncat] Restore the connection success message that Ncat prints with -v. This was accidentally suppressed when not using -z. diff --git a/nmap_dns.cc b/nmap_dns.cc index 634abfd6f..6d16137c4 100644 --- a/nmap_dns.cc +++ b/nmap_dns.cc @@ -926,7 +926,7 @@ static bool interface_is_known_by_guid(const char *guid) { pcap_guid = strchr(pcap_name, '{'); if (pcap_guid == NULL) continue; - if (strcmp(guid, pcap_guid) == 0) + if (strcasecmp(guid, pcap_guid) == 0) return true; }