From 9162c6e06bd83c53dc95b5078d8148e3d8a3b462 Mon Sep 17 00:00:00 2001 From: tsdima Date: Fri, 27 Nov 2009 19:38:11 +0000 Subject: [PATCH] fix: local port for data connection selected by kernel git-svn-id: svn://kolibrios.org@1287 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/ftps/trunk/FTPS.ASM | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/network/ftps/trunk/FTPS.ASM b/programs/network/ftps/trunk/FTPS.ASM index a1dd089428..3ffa8ac737 100644 --- a/programs/network/ftps/trunk/FTPS.ASM +++ b/programs/network/ftps/trunk/FTPS.ASM @@ -601,7 +601,7 @@ disconnectData: ; to wait for all data to pass through the stack before closing pusha mov eax,5 - mov ebx,200 ; Delay for 2s + mov ebx,10 ; Delay for 100ms mcall popa @@ -661,7 +661,7 @@ connectData: mov ebx, 5 ; Open TCP socket mov esi, [DataIP] ; remote IP address mov edx, [DataPort] ; remote port - mov ecx, 20 ; ftp data port id + mov ecx, 0 ; ftp data port id mov edi, 1 ; active open mcall mov [DataSocket], eax