]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/util: 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 10:17:30 +0000 (10:17 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
libcli/util/errmap_unix.c

index 60e570cca902871da48da190ff84ef08b7d67852..06f73a64c7f507e4ca979bf4771d5ae75d69e3ee 100644 (file)
@@ -132,6 +132,9 @@ static const struct {
 #ifdef ENOTSUP
         { ENOTSUP,      NT_STATUS_NOT_SUPPORTED},
 #endif
+#ifdef EPROTONOSUPPORT
+       { EPROTONOSUPPORT, NT_STATUS_PROTOCOL_NOT_SUPPORTED },
+#endif
 
        { 0, NT_STATUS_UNSUCCESSFUL }
 };