Add ENETDOWN.
This commit is contained in:
parent
db02cd569b
commit
670f612e12
|
@ -63,6 +63,7 @@
|
||||||
#define EDESTADDRREQ 71
|
#define EDESTADDRREQ 71
|
||||||
#define EHOSTUNREACH 72
|
#define EHOSTUNREACH 72
|
||||||
#define EMSGSIZE 73
|
#define EMSGSIZE 73
|
||||||
|
#define ENETDOWN 74
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -92,6 +92,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EDESTADDRREQ: return "Destinatiohn address required";
|
case EDESTADDRREQ: return "Destinatiohn address required";
|
||||||
case EHOSTUNREACH: return "Host is unreachable";
|
case EHOSTUNREACH: return "Host is unreachable";
|
||||||
case EMSGSIZE: return "Message too long";
|
case EMSGSIZE: return "Message too long";
|
||||||
|
case ENETDOWN: return "Network is down";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue