summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-13 17:07:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:02 -0500
commit23aa4becf20ae8a1384bad7d819745d7c38b211b (patch)
tree87be97f80f5830e5d8532e0bb417252e6925df0c /source4
parentcd9752d61f49a07a1e943b524c56e0bb75cdeb61 (diff)
downloadsamba-23aa4becf20ae8a1384bad7d819745d7c38b211b.tar.gz
samba-23aa4becf20ae8a1384bad7d819745d7c38b211b.tar.bz2
samba-23aa4becf20ae8a1384bad7d819745d7c38b211b.zip
r12910: fix bug #3069
metze (This used to be commit 1768a698a461bfb8aeaa8f28efaab4ad300823a2)
Diffstat (limited to 'source4')
-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 },