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
aec774abec
commit
fcaf9f9146
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116462
@ -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