mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 03:11:48 +00:00
Compare GUID case-insensitive; Npcap returns it capitalized
This commit is contained in:
parent
581d3e98ce
commit
69d44d9738
2 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue