- Fix another bug...

svn path=/trunk/; revision=36723
This commit is contained in:
Johannes Anderwald 2008-10-11 19:40:56 +00:00
parent 6da373e9fd
commit 2b468f41a1

View file

@ -2826,7 +2826,7 @@ InitializeTcpipBasicDlg(TcpipConfNotifyImpl * This)
CopyIpAddrString(&pCurrentAdapter->IpAddressList, &pCurSettings->Ip, SUBMASK, NULL);
CopyIpAddrString(&pCurrentAdapter->GatewayList, &pCurSettings->Gw, METRIC, NULL); //FIXME
}
uLength = 0;
if (GetPerAdapterInfo(pCurrentAdapter->Index, NULL, &uLength) == ERROR_BUFFER_OVERFLOW)
{
pPerInfo = (PIP_PER_ADAPTER_INFO)CoTaskMemAlloc(uLength);