1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 16:39:03 +00:00

o Fixed a bug on Win32 problem which caused an infinite loop when Nmap

encountered certain broadcast addresses. [Dudi Itzhakov]
This commit is contained in:
fyodor
2008-04-09 00:07:20 +00:00
parent 6b1465612f
commit f2ebfdecba
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
# Nmap Changelog ($Id$); -*-text-*-
o Fixed a bug on Win32 problem which caused an infinite loop when Nmap
encountered certain broadcast addresses. [Dudi Itzhakov]
o Fix MingW compilation by adding a signal.h include to
main.cc. [Gisle Vanem]

View File

@@ -3356,6 +3356,9 @@ static bool do_one_select_round(UltraScanInfo *USI, struct timeval *stime) {
newportstate = PORT_FILTERED;
current_reason = ER_HOSTUNREACH;
break;
#ifdef WIN32
case WSAEADDRNOTAVAIL:
#endif
case ETIMEDOUT:
case EHOSTDOWN:
newhoststate = HOST_DOWN;