mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 20:05:08 +03:00
[SEV-0001] Force EasyMode for client manager. (#3)
* Make EasyMode default for the client. * Force VPN Client manager to start in easy-mode by default.
This commit is contained in:
parent
209f60f079
commit
55bfc6b77d
@ -12249,7 +12249,8 @@ void InitCM(bool set_app_id)
|
|||||||
|
|
||||||
// Memory allocation
|
// Memory allocation
|
||||||
cm = ZeroMalloc(sizeof(CM));
|
cm = ZeroMalloc(sizeof(CM));
|
||||||
|
// Use Easy Mode by default if nothing else is specified.
|
||||||
|
cm->CmSettingInitialFlag = CM_SETTING_INIT_EASY;
|
||||||
// If the command line argument is set treat it as a server name
|
// If the command line argument is set treat it as a server name
|
||||||
ut = GetCommandLineUniToken();
|
ut = GetCommandLineUniToken();
|
||||||
|
|
||||||
|
@ -9023,6 +9023,8 @@ void CiInitConfiguration(CLIENT *c)
|
|||||||
c->Config.UseKeepConnect = false; // Don't use the connection maintenance function by default in the Client
|
c->Config.UseKeepConnect = false; // Don't use the connection maintenance function by default in the Client
|
||||||
// Eraser
|
// Eraser
|
||||||
c->Eraser = NewEraser(c->Logger, 0);
|
c->Eraser = NewEraser(c->Logger, 0);
|
||||||
|
// Set EasyMode by default.
|
||||||
|
c->CmSetting->EasyMode = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user