mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 05:01: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
|
#ifndef WIN32
|
||||||
case EPIPE:
|
case EPIPE:
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef EPROTO
|
||||||
case EPROTO:
|
case EPROTO:
|
||||||
// EPROTO is suspected to be caused by an active IDS/IPS that forges ICMP
|
// 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
|
// type-12 errors ("Parameter problem"). It's been seen in response to the
|
||||||
// Sqlping probe.
|
// Sqlping probe.
|
||||||
|
#endif
|
||||||
case EIO:
|
case EIO:
|
||||||
// Usually an SSL error of some sort (those are presently
|
// Usually an SSL error of some sort (those are presently
|
||||||
// hardcoded to EIO). I'll just try the next probe.
|
// hardcoded to EIO). I'll just try the next probe.
|
||||||
|
|||||||
Reference in New Issue
Block a user