Add EHOSTUNREACH.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-04-21 23:11:09 +02:00
parent fd6b3cce91
commit 62734a008b
2 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,7 @@
#define EISCONN 69
#define EFAULT 70
#define EDESTADDRREQ 71
#define EHOSTUNREACH 72
#define EOPNOTSUPP ENOTSUP

View File

@ -90,6 +90,7 @@ extern "C" const char* sortix_strerror(int errnum)
case EISCONN: return "Socket is connected";
case EFAULT: return "Bad address";
case EDESTADDRREQ: return "Destinatiohn address required";
case EHOSTUNREACH: return "Host is unreachable";
default: return "Unknown error condition";
}
}