mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39:03 +00:00
Handle EACCES in handle_connect_result.
This specific connect error is already handled by ultra_scan. A comment there says it can result from ICMPv6 destination-unreachable admin-prohibited messages.
This commit is contained in:
@@ -338,6 +338,7 @@ void handle_connect_result(mspool *ms, msevent *nse, enum nse_status status) {
|
||||
case 0:
|
||||
nse->status = NSE_STATUS_SUCCESS;
|
||||
break;
|
||||
case EACCES: /* Can be caused by ICMPv6 dest-unreach-admin. */
|
||||
case ECONNREFUSED:
|
||||
case EHOSTUNREACH:
|
||||
case ENETDOWN:
|
||||
|
||||
Reference in New Issue
Block a user