summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/util/errormap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c
index 526e9085c9..bbaac629e4 100644
--- a/source4/libcli/util/errormap.c
+++ b/source4/libcli/util/errormap.c
@@ -1284,14 +1284,17 @@ const struct unix_error_map unix_nt_errmap[] = {
#ifdef ENOTSUP
{ ENOTSUP, NT_STATUS_NOT_SUPPORTED},
#endif
+#ifdef EOPNOTSUPP
+ { EOPNOTSUPP, NT_STATUS_NOT_SUPPORTED},
+#endif
#ifdef EHOSTUNREACH
{ EHOSTUNREACH, NT_STATUS_HOST_UNREACHABLE },
#endif
#ifdef ENETUNREACH
- { ENETUNREACH, NT_STATUS_NETWORK_UNREACHABLE },
+ { ENETUNREACH, NT_STATUS_NETWORK_UNREACHABLE },
#endif
#ifdef ETIMEDOUT
- { ETIMEDOUT, NT_STATUS_IO_TIMEOUT },
+ { ETIMEDOUT, NT_STATUS_IO_TIMEOUT },
#endif
#ifdef EADDRINUSE
{ EADDRINUSE, NT_STATUS_ADDRESS_ALREADY_ASSOCIATED },