Made network library compatible with new API numbers

git-svn-id: svn://kolibrios.org@2858 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-07-11 12:08:45 +00:00
parent 86ee484807
commit 80ecf0f5ee

View File

@ -676,7 +676,7 @@ lock xadd [DNSrequestID], eax ; atomically increment ID, get old value
mov eax, 0x01000100 mov eax, 0x01000100
stosd stosd
; 7. Get DNS server address. ; 7. Get DNS server address.
mcall 76, 0x00000004 ; protocol IP=0, device number=0, function=get DNS address mcall 76, API_IPv4 + 4 ; protocol IP=0, device number=0, function=get DNS address
cmp eax, -1 cmp eax, -1
je .ret.dnserr je .ret.dnserr
mov esi, eax ; put server address to esi mov esi, eax ; put server address to esi