- Don't convert the host name to lower case
authorCameron Gutman <aicommander@gmail.com>
Fri, 30 Oct 2009 04:29:38 +0000 (04:29 +0000)
committerCameron Gutman <aicommander@gmail.com>
Fri, 30 Oct 2009 04:29:38 +0000 (04:29 +0000)
svn path=/trunk/; revision=43844

reactos/base/services/dhcp/util.c

index 1b995ee..238a788 100644 (file)
@@ -119,7 +119,7 @@ int read_client_conf(struct interface_info *ifi) {
        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,