https://git.reactos.org/?p=reactos.git;a=commitdiff;h=214692ff5eafb510b8ae2c507936bdfca51b1265
commit 214692ff5eafb510b8ae2c507936bdfca51b1265 Author: Eric Kohl <[email protected]> AuthorDate: Thu Jun 20 22:07:42 2019 +0200 Commit: Eric Kohl <[email protected]> CommitDate: Thu Jun 20 22:08:39 2019 +0200 [NETSHELL] Improvements to the network setup (2a/x) Step 2a: Really check the binding between network components. Next Step: Bind the Tcpip transport to all enumerated network adapters. --- dll/shellext/netshell/lanconnectui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dll/shellext/netshell/lanconnectui.cpp b/dll/shellext/netshell/lanconnectui.cpp index 3a292d52dc..eaa1904b7d 100644 --- a/dll/shellext/netshell/lanconnectui.cpp +++ b/dll/shellext/netshell/lanconnectui.cpp @@ -101,7 +101,7 @@ CNetConnectionPropertyUi::EnumComponents(HWND hDlgCtrl, INetCfg *pNCfg, const GU pHelpText = NULL; hr = pNCfgComp->GetDisplayName(&pDisplayName); hr = pNCfgComp->GetHelpText(&pHelpText); - bChecked = TRUE; //ReactOS hack + bChecked = FALSE; hr = pNCfgComp->QueryInterface(IID_PPV_ARG(INetCfgComponentBindings, &pCompBind)); if (SUCCEEDED(hr)) { @@ -110,8 +110,6 @@ CNetConnectionPropertyUi::EnumComponents(HWND hDlgCtrl, INetCfg *pNCfg, const GU hr = pCompBind->IsBoundTo(pAdapterCfgComp); if (hr == S_OK) bChecked = TRUE; - else - bChecked = FALSE; } }
