mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 20:43:18 +00:00
[SYSSETUP] When the physical host name is set, also set an empty physical domain name
This commit is contained in:
parent
c645660384
commit
9e2ae9b05c
1 changed files with 4 additions and 1 deletions
|
@ -556,7 +556,10 @@ WriteComputerSettings(WCHAR * ComputerName, HWND hwndDlg)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* Try to also set DNS hostname */
|
||||
/* Set the physical DNS domain */
|
||||
SetComputerNameExW(ComputerNamePhysicalDnsDomain, L"");
|
||||
|
||||
/* Set the physical DNS hostname */
|
||||
SetComputerNameExW(ComputerNamePhysicalDnsHostname, ComputerName);
|
||||
|
||||
/* Set the accounts domain name */
|
||||
|
|
Loading…
Reference in a new issue