forked from KolibriOS/kolibrios
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:
parent
86ee484807
commit
80ecf0f5ee
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user