mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Wrap EPROTO case in an ifdef directive to avoid compiler errors when EPROTO is
not defined (such as on windows XP).
This commit is contained in:
@@ -2268,10 +2268,12 @@ static void servicescan_read_handler(nsock_pool nsp, nsock_event nse, void *myda
|
||||
#ifndef WIN32
|
||||
case EPIPE:
|
||||
#endif
|
||||
#ifdef EPROTO
|
||||
case EPROTO:
|
||||
// EPROTO is suspected to be caused by an active IDS/IPS that forges ICMP
|
||||
// type-12 errors ("Parameter problem"). It's been seen in response to the
|
||||
// Sqlping probe.
|
||||
#endif
|
||||
case EIO:
|
||||
// Usually an SSL error of some sort (those are presently
|
||||
// hardcoded to EIO). I'll just try the next probe.
|
||||
|
||||
Reference in New Issue
Block a user