mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[SYSSETUP] When the physical host name is set, also set an empty physical domain name
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user