[ros-diffs] [cgutman] 41802: - Remove an old hack (r14812) which limited ROS to use only one DNS server

cgutman at svn.reactos.org cgutman at svn.reactos.org
Wed Jul 8 09:02:35 CEST 2009


Author: cgutman
Date: Wed Jul  8 11:02:33 2009
New Revision: 41802

URL: http://svn.reactos.org/svn/reactos?rev=41802&view=rev
Log:
 - Remove an old hack (r14812) which limited ROS to use only one DNS server

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/dhclient.c?rev=41802&r1=41801&r2=41802&view=diff
==============================================================================
--- trunk/reactos/base/services/dhcp/dhclient.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/dhcp/dhclient.c [iso-8859-1] Wed Jul  8 11:02:33 2009
@@ -462,8 +462,6 @@
         int i, addrs =
             new_lease->options[DHO_DOMAIN_NAME_SERVERS].len / sizeof(ULONG);
 
-               /* XXX I'm setting addrs to 1 until we are ready up the chain */
-               addrs = 1;
         nsbuf = malloc( addrs * sizeof(IP_ADDRESS_STRING) );
 
         if( nsbuf) {



More information about the Ros-diffs mailing list