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:
parent
636a482b8d
commit
6a22b27277
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user