STEP99?? torture: HACK bind on existing connection REQUEST_NOT_ACCEPTED...
[obnox/samba/samba-obnox.git] / source4 / torture / smb2 / session.c
index 7bf11886fec8066040758d6af559625da3d6393a..ece1a102c8e11a14a313011378d80ed7377db59d 100644 (file)
@@ -1235,7 +1235,7 @@ bool test_session_bind1(struct torture_context *tctx, struct smb2_tree *tree1)
        /*
         * Now bind the 2nd transport connection to the 1st session
         */
-       session1_2 = smb2_session_channel(transport2,
+       session1_2 = smb2_session_channel(transport1,
                                          lpcfg_gensec_settings(tctx, tctx->lp_ctx),
                                          tree2,
                                          session1_1);