mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 03:45: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
|
||||
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
|
||||
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
|
||||
// Eraser
|
||||
c->Eraser = NewEraser(c->Logger, 0);
|
||||
// Set EasyMode by default.
|
||||
c->CmSetting->EasyMode = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user