Author: spetreolle
Date: Wed Jun 10 00:22:48 2009
New Revision: 41362
URL:
http://svn.reactos.org/svn/reactos?rev=41362&view=rev
Log:
Dhcp HostName isn't mandatory.
Fixes nat networking in vbox.
Modified:
trunk/reactos/base/services/dhcp/dhclient.c
Modified: trunk/reactos/base/services/dhcp/dhclient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/dhcp/dhclien…
==============================================================================
--- trunk/reactos/base/services/dhcp/dhclient.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/dhcp/dhclient.c [iso-8859-1] Wed Jun 10 00:22:48 2009
@@ -1961,11 +1961,9 @@
case DHO_HOST_NAME:
case DHO_DOMAIN_NAME:
case DHO_NIS_DOMAIN:
- if (!res_hnok(sbuf)) {
+ if (!res_hnok(sbuf))
warning("Bogus Host Name option %d: %s (%s)", option,
sbuf, opbuf);
- return (0);
- }
return (1);
case DHO_PAD:
case DHO_TIME_OFFSET: