From 14888c21acaf34da047937b29833d7788bafe11d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 11 Aug 2009 13:52:07 +0200 Subject: [PATCH] s3:lib: map ECONNRESET to NT_STATUS_CONNECTION_RESET metze --- source3/lib/errmap_unix.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c index 00c54753940..d43598bc53f 100644 --- a/source3/lib/errmap_unix.c +++ b/source3/lib/errmap_unix.c @@ -87,6 +87,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = { #ifdef ECONNABORTED { ECONNABORTED, ERRHRD, ERRgeneral, NT_STATUS_CONNECTION_ABORTED}, #endif +#ifdef ECONNRESET + { ECONNRESET, ERRHRD, ERRgeneral, NT_STATUS_CONNECTION_RESET}, +#endif #ifdef ENODEV { ENODEV, ERRDOS, 55, NT_STATUS_DEVICE_DOES_NOT_EXIST}, #endif -- 2.11.4.GIT