unix: map ENETUNREACH to UV_ENETUNREACH

UV_ENETUNREACH already exists, but was not mapped properly on unix.
This commit is contained in:
Charlie McConnell 2012-03-20 16:06:52 -07:00 committed by Ben Noordhuis
parent 4ff0898c5f
commit 8e59042310

View File

@ -74,6 +74,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case EMSGSIZE: return UV_EMSGSIZE;
case ENAMETOOLONG: return UV_ENAMETOOLONG;
case EINVAL: return UV_EINVAL;
case ENETUNREACH: return UV_ENETUNREACH;
case ECONNABORTED: return UV_ECONNABORTED;
case ELOOP: return UV_ELOOP;
case ECONNREFUSED: return UV_ECONNREFUSED;