unix: map ENETUNREACH to UV_ENETUNREACH
UV_ENETUNREACH already exists, but was not mapped properly on unix.
This commit is contained in:
parent
4ff0898c5f
commit
8e59042310
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user