mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49: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:
parent
fea2ad0a33
commit
3b15630d70
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue