1
0
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:
Davide Beatrici 2020-12-08 08:23:33 +01:00 committed by GitHub
commit f03e83369e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);