summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/negprot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 06b17a9a24..a28b2f3d4c 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -674,6 +674,7 @@ void reply_negprot(connection_struct *conn, struct smb_request *req)
DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name));
} else {
DEBUG(0,("No protocol supported !\n"));
+ SSVAL(outbuf,smb_vwv0,choice);
}
DEBUG( 5, ( "negprot index=%d\n", choice ) );