mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 19:39:53 +03:00
Merge PR #1486: Fix auto refreshing of client manager
This commit is contained in:
commit
6e7eba8e71
@ -5450,8 +5450,6 @@ void CmMainWindowOnCommandEx(HWND hWnd, WPARAM wParam, LPARAM lParam, bool easy)
|
|||||||
CmStopUacHelper(helper);
|
CmStopUacHelper(helper);
|
||||||
|
|
||||||
Free(name);
|
Free(name);
|
||||||
|
|
||||||
CmRefresh(hWnd);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CMD_DELETE_VLAN:
|
case CMD_DELETE_VLAN:
|
||||||
@ -5480,8 +5478,6 @@ void CmMainWindowOnCommandEx(HWND hWnd, WPARAM wParam, LPARAM lParam, bool easy)
|
|||||||
}
|
}
|
||||||
Free(s);
|
Free(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
CmRefresh(hWnd);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CMD_ENABLE_VLAN:
|
case CMD_ENABLE_VLAN:
|
||||||
@ -5501,8 +5497,6 @@ void CmMainWindowOnCommandEx(HWND hWnd, WPARAM wParam, LPARAM lParam, bool easy)
|
|||||||
CALL(hWnd, CcEnableVLan(cm->Client, &c));
|
CALL(hWnd, CcEnableVLan(cm->Client, &c));
|
||||||
}
|
}
|
||||||
Free(s);
|
Free(s);
|
||||||
|
|
||||||
CmRefresh(hWnd);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -5523,8 +5517,6 @@ void CmMainWindowOnCommandEx(HWND hWnd, WPARAM wParam, LPARAM lParam, bool easy)
|
|||||||
CALL(hWnd, CcDisableVLan(cm->Client, &c));
|
CALL(hWnd, CcDisableVLan(cm->Client, &c));
|
||||||
}
|
}
|
||||||
Free(s);
|
Free(s);
|
||||||
|
|
||||||
CmRefresh(hWnd);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -5560,8 +5552,6 @@ void CmMainWindowOnCommandEx(HWND hWnd, WPARAM wParam, LPARAM lParam, bool easy)
|
|||||||
CmStopUacHelper(helper);
|
CmStopUacHelper(helper);
|
||||||
}
|
}
|
||||||
Free(s);
|
Free(s);
|
||||||
|
|
||||||
CmRefresh(hWnd);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -5410,7 +5410,7 @@ NOTIFY_CLIENT *CcConnectNotify(REMOTE_CLIENT *rc)
|
|||||||
NOTIFY_CLIENT *n;
|
NOTIFY_CLIENT *n;
|
||||||
SOCK *s;
|
SOCK *s;
|
||||||
char tmp[MAX_SIZE];
|
char tmp[MAX_SIZE];
|
||||||
bool rpc_mode = false;
|
UINT rpc_mode = 0;
|
||||||
UINT port;
|
UINT port;
|
||||||
// Validate arguments
|
// Validate arguments
|
||||||
if (rc == NULL || rc->Rpc == NULL || rc->Rpc->Sock == NULL)
|
if (rc == NULL || rc->Rpc == NULL || rc->Rpc->Sock == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user