mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 14:16:30 +00:00
- sorry again...
svn path=/trunk/; revision=32870
This commit is contained in:
parent
76a59c8312
commit
25ea1cddfe
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "resource.h"
|
||||
#include "ncpa.h"
|
||||
#define NDEBUG
|
||||
|
||||
#include <wine/debug.h>
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(ncpa);
|
||||
|
||||
|
@ -163,7 +163,7 @@ ValidateAndStore(HWND Dlg, PTCPIP_PROPERTIES_DATA DlgData)
|
|||
DlgData->DhcpEnabled = (BST_CHECKED ==
|
||||
IsDlgButtonChecked(Dlg, IDC_USEDHCP));
|
||||
if (! DlgData->DhcpEnabled) {
|
||||
// DhcpReleaseIpAddressLease( DlgData->AdapterIndex );
|
||||
DhcpReleaseIpAddressLease( DlgData->AdapterIndex );
|
||||
|
||||
if (4 != SendMessageW(GetDlgItem(Dlg, IDC_IPADDR), IPM_GETADDRESS,
|
||||
0, (LPARAM) &IpAddress)) {
|
||||
|
@ -185,8 +185,8 @@ ValidateAndStore(HWND Dlg, PTCPIP_PROPERTIES_DATA DlgData)
|
|||
} else {
|
||||
DlgData->Gateway = htonl(IpAddress);
|
||||
}
|
||||
// DhcpStaticRefreshParams
|
||||
// ( DlgData->AdapterIndex, DlgData->IpAddress, DlgData->SubnetMask );
|
||||
DhcpStaticRefreshParams
|
||||
( DlgData->AdapterIndex, DlgData->IpAddress, DlgData->SubnetMask );
|
||||
|
||||
RowToRem.dwForwardMask = 0;
|
||||
RowToRem.dwForwardMetric1 = 1;
|
||||
|
@ -204,7 +204,7 @@ ValidateAndStore(HWND Dlg, PTCPIP_PROPERTIES_DATA DlgData)
|
|||
DlgData->IpAddress = INADDR_NONE;
|
||||
DlgData->SubnetMask = INADDR_NONE;
|
||||
DlgData->Gateway = INADDR_NONE;
|
||||
// DhcpLeaseIpAddress( DlgData->AdapterIndex );
|
||||
DhcpLeaseIpAddress( DlgData->AdapterIndex );
|
||||
}
|
||||
|
||||
if (BST_CHECKED == IsDlgButtonChecked(Dlg, IDC_FIXEDDNS)) {
|
||||
|
|
Loading…
Reference in a new issue