[ros-diffs] [cgutman] 43844: - Don't convert the host name to lower case

cgutman at svn.reactos.org cgutman at svn.reactos.org
Fri Oct 30 05:29:39 CET 2009


Author: cgutman
Date: Fri Oct 30 05:29:38 2009
New Revision: 43844

URL: http://svn.reactos.org/svn/reactos?rev=43844&view=rev
Log:
 - Don't convert the host name to lower case

Modified:
    trunk/reactos/base/services/dhcp/util.c

Modified: trunk/reactos/base/services/dhcp/util.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/dhcp/util.c?rev=43844&r1=43843&r2=43844&view=diff
==============================================================================
--- trunk/reactos/base/services/dhcp/util.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/dhcp/util.c [iso-8859-1] Fri Oct 30 05:29:38 2009
@@ -119,7 +119,7 @@
        if (lpCompName !=NULL) {
            memcpy(lpCompName, ComputerName, ComputerNameSize + 1);
            /* Send our hostname, some dhcpds use this to update DNS */
-           config->send_options[DHO_HOST_NAME].data = (u_int8_t*)_strlwr(lpCompName);
+           config->send_options[DHO_HOST_NAME].data = (u_int8_t*)lpCompName;
            config->send_options[DHO_HOST_NAME].len = ComputerNameSize;
            debug("Hostname: %s, length: %d",
                  config->send_options[DHO_HOST_NAME].data,




More information about the Ros-diffs mailing list