Map icmp time exceeded responses to EHOSTUNREACH rather than 0 (no error);

this makes connect act more sensibly in these cases.

PR:				50839
Submitted by:			Barney Wolff <barney@pit.databus.com>
Patch delayed by laziness of:	silby
MFC after:			1 week
This commit is contained in:
silby 2003-06-17 06:21:08 +00:00
parent 636a482b8d
commit 6a22b27277

View File

@ -1696,7 +1696,7 @@ u_char inetctlerrmap[PRC_NCMDS] = {
0, EMSGSIZE, EHOSTDOWN, EHOSTUNREACH,
EHOSTUNREACH, EHOSTUNREACH, ECONNREFUSED, ECONNREFUSED,
EMSGSIZE, EHOSTUNREACH, 0, 0,
0, 0, 0, 0,
0, 0, EHOSTUNREACH, 0,
ENOPROTOOPT, ECONNREFUSED
};