1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

Fixed setting change trigger of keepalive function

To solve the problem that the escape condition of the loop that tries name resolution in UDP mode was reversed in the keep-alive function of the Internet connection, so the name resolution retry is set to 250 msec interval instead of the normal 60 second interval.
This commit is contained in:
Tetsuo Sugiyama 2020-11-17 12:23:14 +09:00 committed by GitHub
parent 16ca0694fb
commit 5f6306d5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,7 +337,7 @@ WAIT_FOR_ENABLE:
{
if (StrCmpi(k->ServerName, server_name) != 0 ||
k->ServerPort != server_port || k->Enable == false ||
k->UdpMode)
k->UdpMode == false)
{
changed = true;
}