From: Stefan Metzmacher Date: Tue, 15 Apr 2025 11:48:54 +0000 (+0200) Subject: s3:lib: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTED X-Git-Tag: tevent-0.17.0~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daea4ad9f49f8694a66756ba9d275edb71a4a879;p=thirdparty%2Fsamba.git s3:lib: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTED Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Fri Apr 18 11:18:42 UTC 2025 on atb-devel-224 --- diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c index 3aa2cd1e4fa..87b4c51abe4 100644 --- a/source3/lib/errmap_unix.c +++ b/source3/lib/errmap_unix.c @@ -125,6 +125,9 @@ static const struct { #ifdef ENXIO { ENXIO, NT_STATUS_ILLEGAL_FUNCTION }, #endif +#ifdef EPROTONOSUPPORT + { EPROTONOSUPPORT, NT_STATUS_PROTOCOL_NOT_SUPPORTED }, +#endif }; /*********************************************************************