mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:15:58 +00:00
Mikhail Zvyozdochkin: If I enter directly DNS server address in TCP/IP properties window, and after it open this window again, DNS server address is not retrieved to text field.
Patch 1746 svn path=/trunk/; revision=24105
This commit is contained in:
parent
dc1e819150
commit
d64332beb2
1 changed files with 7 additions and 2 deletions
|
@ -357,7 +357,7 @@ TCPIPPropertyPageProc(HWND Dlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
DlgData = (PTCPIP_PROPERTIES_DATA) GetWindowLongPtrW(Dlg, GWL_USERDATA);
|
||||
switch(uMsg) {
|
||||
case WM_INITDIALOG:
|
||||
case WM_INITDIALOG:
|
||||
Page = (LPPROPSHEETPAGEW) lParam;
|
||||
DlgData = (PTCPIP_PROPERTIES_DATA) Page->lParam;
|
||||
SetWindowLongPtrW(Dlg, GWL_USERDATA, Page->lParam);
|
||||
|
@ -390,7 +390,12 @@ TCPIPPropertyPageProc(HWND Dlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
ntohl(DlgData->OldDns2));
|
||||
}
|
||||
}
|
||||
ManualDNS(Dlg, INADDR_NONE != DlgData->OldDns1, 0);
|
||||
|
||||
if (DlgData->OldDhcpEnabled)
|
||||
{
|
||||
ManualDNS(Dlg, INADDR_NONE != DlgData->OldDns1, 0);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case WM_COMMAND:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue