TCP Fast ACK: Fix advertised window size

git-svn-id: svn://kolibrios.org@6913 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ashmew2 2017-05-30 16:41:35 +00:00
parent e9dc6c5ab5
commit c23792822f

View File

@ -1,6 +1,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;; Part of the TCP/IP network stack for KolibriOS ;;
@ -303,9 +303,8 @@ tcp_respond:
stosb
mov al, cl
stosb
; mov ax, [esi + TCP_SOCKET.RCV_WND]
; rol ax, 8
mov ax, 0x00a0 ;;;;;;; FIXME
mov eax, [esi + TCP_SOCKET.RCV_WND]
xchg al, ah
stosw ; window
xor eax, eax
stosd ; checksum + urgentpointer