1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 01:19:52 +03:00

Bug fix: Proxy button not enabled for SOCKS5

https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1247
This commit is contained in:
Allen Cui 2020-12-08 14:12:21 +08:00 committed by GitHub
parent bf1201aa26
commit 501fe217ff
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_HTTPS:
case R_SOCKS:
case R_SOCKS5:
if (IsChecked(hWnd, R_HTTPS))
{
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_HTTPS:
case R_SOCKS:
case R_SOCKS5:
case R_SERVER_ADMIN:
case R_HUB_ADMIN:
case C_HUBNAME:
@ -19655,6 +19657,7 @@ UINT SmEditSettingDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, voi
case R_DIRECT_TCP:
case R_HTTPS:
case R_SOCKS:
case R_SOCKS5:
if (HIWORD(wParam) == BN_CLICKED)
{
CmEnumHubStart(hWnd, &p->Setting->ClientOption);