mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-13 19:24:57 +03:00
Cedar: remove "NicDownOnDisconnect" option
SoftEther VPN originally created the NIC in the UP state and never changed it, even when the the client was not connected.
The behavior was changed in 59e1483dbf
, which also added the NicDownOnDisconnect option
The option was disabled by default for backwards compatibility with scripts that don't check whether the NIC is down, but it's not ideal.
This commit forces the correct behavior and removes the commands "TUNDownOnDisconnectEnable", "TUNDownOnDisconnectDisable" and "TUNDownOnDisconnectGet".
This commit is contained in:
@ -506,7 +506,7 @@ void StartLink(LINK *k)
|
||||
pa->Param = (void *)k;
|
||||
LockLink(k);
|
||||
{
|
||||
k->ClientSession = NewClientSession(k->Cedar, k->Option, k->Auth, pa, NULL);
|
||||
k->ClientSession = NewClientSession(k->Cedar, k->Option, k->Auth, pa);
|
||||
}
|
||||
UnlockLink(k);
|
||||
}
|
||||
|
Reference in New Issue
Block a user