Skip to content

Commit 590a894

Browse files
committed
Get first response from server in 0.6 mode
1 parent 791e134 commit 590a894

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/send_control.asm

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ send_ctrl_close:
3030
send_ctrl_msg_connect6:
3131
push rax
3232

33-
mov qword [token], 0xff_ff_ff_ff
33+
mov byte [token+0], 0xff
34+
mov byte [token+1], 0xff
35+
mov byte [token+2], 0xff
36+
mov byte [token+3], 0xff
3437

3538
packet6_pack_byte MSG_CTRL_CONNECT
3639
packet6_pack_raw MAGIC_TKEN, 4
3740

38-
mov byte [out_packet_header_flags], PACKETFLAG_CONTROL
41+
mov byte [out_packet_header_flags], PACKETFLAG6_CONTROL
3942
mov byte [out_packet_header_num_chunks], 0
4043
call send_packet
4144

0 commit comments

Comments
 (0)