Bugfixes to bind socket to device.

git-svn-id: svn://kolibrios.org@5584 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2015-07-20 11:13:42 +00:00
parent 2a0abd0133
commit 47d756fe2f
6 changed files with 33 additions and 2 deletions

View File

@@ -504,6 +504,7 @@ endl
mov ecx, esi
mov edx, [eax + IP_SOCKET.LocalIP] ; source ip
mov ebx, [eax + IP_SOCKET.device]
mov eax, [eax + IP_SOCKET.RemoteIP] ; dest ip
mov di, IP_PROTO_TCP shl 8 + 128
call IPv4_output