Skip to content

Commit

Permalink
Don't add loopback adapter if support is 'off'
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Mar 29, 2021
1 parent 867e3d3 commit 777dc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packetWin7/Dll/AdInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ BOOLEAN PacketUpdateAdInfo(PCHAR AdapterName)

ReleaseMutex(g_AdaptersInfoMutex);
if (strcmp(AdapterName, FAKE_LOOPBACK_ADAPTER_NAME) == 0) {
found = PacketAddLoopbackAdapter();
found = (g_bLoopbackSupport && PacketAddLoopbackAdapter());
TRACE_EXIT();
return found;
}
Expand Down

0 comments on commit 777dc56

Please sign in to comment.