mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 10:59:53 +03:00
Merge PR #1248: Bug fix: Proxy button not enabled for SOCKS5
This commit is contained in:
commit
f03e83369e
@ -113,6 +113,7 @@ UINT SmProxyDlg(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void *param)
|
|||||||
case R_DIRECT_TCP:
|
case R_DIRECT_TCP:
|
||||||
case R_HTTPS:
|
case R_HTTPS:
|
||||||
case R_SOCKS:
|
case R_SOCKS:
|
||||||
|
case R_SOCKS5:
|
||||||
if (IsChecked(hWnd, R_HTTPS))
|
if (IsChecked(hWnd, R_HTTPS))
|
||||||
{
|
{
|
||||||
t->ProxyType = PROXY_HTTP;
|
t->ProxyType = PROXY_HTTP;
|
||||||
@ -19624,6 +19625,7 @@ UINT SmEditSettingDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, voi
|
|||||||
case R_DIRECT_TCP:
|
case R_DIRECT_TCP:
|
||||||
case R_HTTPS:
|
case R_HTTPS:
|
||||||
case R_SOCKS:
|
case R_SOCKS:
|
||||||
|
case R_SOCKS5:
|
||||||
case R_SERVER_ADMIN:
|
case R_SERVER_ADMIN:
|
||||||
case R_HUB_ADMIN:
|
case R_HUB_ADMIN:
|
||||||
case C_HUBNAME:
|
case C_HUBNAME:
|
||||||
@ -19655,6 +19657,7 @@ UINT SmEditSettingDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, voi
|
|||||||
case R_DIRECT_TCP:
|
case R_DIRECT_TCP:
|
||||||
case R_HTTPS:
|
case R_HTTPS:
|
||||||
case R_SOCKS:
|
case R_SOCKS:
|
||||||
|
case R_SOCKS5:
|
||||||
if (HIWORD(wParam) == BN_CLICKED)
|
if (HIWORD(wParam) == BN_CLICKED)
|
||||||
{
|
{
|
||||||
CmEnumHubStart(hWnd, &p->Setting->ClientOption);
|
CmEnumHubStart(hWnd, &p->Setting->ClientOption);
|
||||||
|
Loading…
Reference in New Issue
Block a user