From daea4ad9f49f8694a66756ba9d275edb71a4a879 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 15 Apr 2025 13:48:54 +0200 Subject: [PATCH] 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 --- 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 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 }; /********************************************************************* -- 2.47.3