mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 09:30:55 +00:00
- Don't convert the host name to lower case
svn path=/trunk/; revision=43844
This commit is contained in:
parent
92f8240011
commit
dbd53d6738
|
@ -119,7 +119,7 @@ int read_client_conf(struct interface_info *ifi) {
|
||||||
if (lpCompName !=NULL) {
|
if (lpCompName !=NULL) {
|
||||||
memcpy(lpCompName, ComputerName, ComputerNameSize + 1);
|
memcpy(lpCompName, ComputerName, ComputerNameSize + 1);
|
||||||
/* Send our hostname, some dhcpds use this to update DNS */
|
/* 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;
|
config->send_options[DHO_HOST_NAME].len = ComputerNameSize;
|
||||||
debug("Hostname: %s, length: %d",
|
debug("Hostname: %s, length: %d",
|
||||||
config->send_options[DHO_HOST_NAME].data,
|
config->send_options[DHO_HOST_NAME].data,
|
||||||
|
|
Loading…
Reference in a new issue