Zeroconfig: bugfix for previous release; apply DHCP settings correctly.

git-svn-id: svn://kolibrios.org@5587 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2015-07-20 14:36:39 +00:00
parent 061e9e3bd8
commit b4928356ab

View File

@ -462,7 +462,7 @@ request_sent:
mov ebx, API_IPv4 + 3 mov ebx, API_IPv4 + 3
mov bh, byte[ebp + interface.number] mov bh, byte[ebp + interface.number]
mcall 76, , [ebp + interface.ip] ; ip mcall 76, , [ebp + interface.ip] ; ip
mov bl, 5 mov bl, 7
mcall 76, , [ebp + interface.subnet] ; subnet mcall 76, , [ebp + interface.subnet] ; subnet
mov bl, 9 mov bl, 9
mcall 76, , [ebp + interface.gateway] ; gateway mcall 76, , [ebp + interface.gateway] ; gateway
@ -475,8 +475,9 @@ request_sent:
cmp eax, 'stat' cmp eax, 'stat'
je static.dns je static.dns
@@: @@:
mov ebx, API_IPv4 + 5
mov bh, byte[ebp + interface.number]
mcall 76, , [ebp + interface.dns] ; dns mcall 76, , [ebp + interface.dns] ; dns
mov bl, 7
jmp link_up jmp link_up