ws2_32: Add host unreachable case.

This commit is contained in:
Alexandre Goujon 2010-07-02 14:57:56 +02:00 committed by Alexandre Julliard
parent dd6cabcc1e
commit 73b2f5708f
1 changed files with 1 additions and 0 deletions

View File

@ -615,6 +615,7 @@ static inline DWORD NtStatusToWSAError( const DWORD status )
case STATUS_CANT_WAIT: wserr = WSAEWOULDBLOCK; break;
case STATUS_BUFFER_OVERFLOW: wserr = WSAEMSGSIZE; break;
case STATUS_NOT_SUPPORTED: wserr = WSAEOPNOTSUPP; break;
case STATUS_HOST_UNREACHABLE: wserr = WSAEHOSTUNREACH; break;
default:
wserr = RtlNtStatusToDosError( status );