server: Map EHOSTUNREACH to STATUS_HOST_UNREACHABLE.

This commit is contained in:
Hans Leidekker 2010-05-25 12:18:12 +02:00 committed by Alexandre Julliard
parent e8ac9bbd7f
commit 0a4984280f

View file

@ -817,6 +817,7 @@ static int sock_get_ntstatus( int err )
case ENOTCONN: return STATUS_CONNECTION_DISCONNECTED;
case ETIMEDOUT: return STATUS_IO_TIMEOUT;
case ENETUNREACH: return STATUS_NETWORK_UNREACHABLE;
case EHOSTUNREACH: return STATUS_HOST_UNREACHABLE;
case ENETDOWN: return STATUS_NETWORK_BUSY;
case EPIPE:
case ECONNRESET: return STATUS_CONNECTION_RESET;