From b4928356abd397d6d49399f07b5a5d7bb2c2dec8 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 20 Jul 2015 14:36:39 +0000 Subject: [PATCH] Zeroconfig: bugfix for previous release; apply DHCP settings correctly. git-svn-id: svn://kolibrios.org@5587 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/zeroconf/zeroconf.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/network/zeroconf/zeroconf.asm b/programs/network/zeroconf/zeroconf.asm index d1966efb61..9a626ab5dd 100644 --- a/programs/network/zeroconf/zeroconf.asm +++ b/programs/network/zeroconf/zeroconf.asm @@ -462,7 +462,7 @@ request_sent: mov ebx, API_IPv4 + 3 mov bh, byte[ebp + interface.number] mcall 76, , [ebp + interface.ip] ; ip - mov bl, 5 + mov bl, 7 mcall 76, , [ebp + interface.subnet] ; subnet mov bl, 9 mcall 76, , [ebp + interface.gateway] ; gateway @@ -475,8 +475,9 @@ request_sent: cmp eax, 'stat' je static.dns @@: + mov ebx, API_IPv4 + 5 + mov bh, byte[ebp + interface.number] mcall 76, , [ebp + interface.dns] ; dns - mov bl, 7 jmp link_up