]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:lib: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTED
authorStefan Metzmacher <metze@samba.org>
Tue, 15 Apr 2025 11:48:54 +0000 (13:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Apr 2025 11:18:42 +0000 (11:18 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Apr 18 11:18:42 UTC 2025 on atb-devel-224

source3/lib/errmap_unix.c

index 3aa2cd1e4fa7478f94881ef68383493b51b31876..87b4c51abe41d5df15e56d76a13637b20a85724d 100644 (file)
@@ -125,6 +125,9 @@ static const struct {
 #ifdef ENXIO
        { ENXIO, NT_STATUS_ILLEGAL_FUNCTION },
 #endif
+#ifdef EPROTONOSUPPORT
+       { EPROTONOSUPPORT, NT_STATUS_PROTOCOL_NOT_SUPPORTED },
+#endif
 };
 
 /*********************************************************************