1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-17 13:09:02 +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:
david
2012-01-19 00:03:39 +00:00
parent 792d06108c
commit 47ee706a4a

View File

@@ -338,6 +338,7 @@ void handle_connect_result(mspool *ms, msevent *nse, enum nse_status status) {
case 0: case 0:
nse->status = NSE_STATUS_SUCCESS; nse->status = NSE_STATUS_SUCCESS;
break; break;
case EACCES: /* Can be caused by ICMPv6 dest-unreach-admin. */
case ECONNREFUSED: case ECONNREFUSED:
case EHOSTUNREACH: case EHOSTUNREACH:
case ENETDOWN: case ENETDOWN: