smb2_server: update inline comment for max channels
authorGünther Deschner <gd@samba.org>
Wed, 24 Jan 2018 16:14:59 +0000 (17:14 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 15 May 2020 09:04:36 +0000 (09:04 +0000)
All Windows versions have the limit of 32 channels.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smbXsrv_session.c

index ba542702213086e43dd5d60008bfdedda37baf46..7d63efb758fbf624011b6617605574bb3b73b336 100644 (file)
@@ -1345,7 +1345,7 @@ NTSTATUS smbXsrv_session_add_channel(struct smbXsrv_session *session,
 
        if (global->num_channels > 31) {
                /*
 
        if (global->num_channels > 31) {
                /*
-                * Windows 2012 and 2012R2 allow up to 32 channels
+                * Windows allow up to 32 channels
                 */
                return NT_STATUS_INSUFFICIENT_RESOURCES;
        }
                 */
                return NT_STATUS_INSUFFICIENT_RESOURCES;
        }