/kernel/branches/net/applications/libraries/network/network.asm |
---|
676,7 → 676,7 |
mov eax, 0x01000100 |
stosd |
; 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 |
je .ret.dnserr |
mov esi, eax ; put server address to esi |