- Don't convert the host name to lower case

svn path=/trunk/; revision=43844
This commit is contained in:
Cameron Gutman 2009-10-30 04:29:38 +00:00
parent 92f8240011
commit dbd53d6738

View 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,