Skip to content

Commit

Permalink
Record the loopback adapter name when installing it. Allows removing …
Browse files Browse the repository at this point in the history
…and reinstalling the adapter.
  • Loading branch information
bonsaiviking committed Oct 26, 2017
1 parent 41847fc commit 46ee72d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packetWin7/NPFInstall/NPFInstall/LoopbackRecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ BOOL EnumerateComponents(CComPtr<INetCfg>& pINetCfg, const GUID* pguidClass)
bFailed = TRUE;
}

// if (!AddFlagToRegistry_Service(pszBindName))
// {
// bFailed = TRUE;
// }
if (!AddFlagToRegistry_Service(pszBindName))
{
bFailed = TRUE;
}

if (!RenameLoopbackNetwork(pszBindName))
{
Expand Down

0 comments on commit 46ee72d

Please sign in to comment.