mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- Fix setting manual ip address
svn path=/trunk/; revision=37042
This commit is contained in:
parent
0e6210c139
commit
962142cf78
2 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
<library>ole32</library>
|
||||
<library>user32</library>
|
||||
<library>comctl32</library>
|
||||
<library>ws2_32</library>
|
||||
<file>netcfgx.c</file>
|
||||
<file>netcfgx.spec</file>
|
||||
<file>classfactory.c</file>
|
||||
|
|
|
@ -3194,7 +3194,7 @@ INetCfgComponentControl_fnApplyRegistryChanges(
|
|||
|
||||
//TODO
|
||||
// add multiple ip addresses when required
|
||||
if (AddIPAddress(pCurrentConfig->Ip->IpAddress, pCurrentConfig->Ip->u.Subnetmask, pCurrentConfig->Index, &pCurrentConfig->Ip->NTEContext, &NTEInstance) == NO_ERROR)
|
||||
if (AddIPAddress(htonl(pCurrentConfig->Ip->IpAddress), htonl(pCurrentConfig->Ip->u.Subnetmask), pCurrentConfig->Index, &pCurrentConfig->Ip->NTEContext, &NTEInstance) == NO_ERROR)
|
||||
{
|
||||
pStr = CreateMultiSzString(pCurrentConfig->Ip, IPADDR, &dwSize, FALSE);
|
||||
if(pStr)
|
||||
|
|
Loading…
Reference in a new issue