mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +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:
parent
16ca0694fb
commit
5f6306d5e5
@ -337,7 +337,7 @@ WAIT_FOR_ENABLE:
|
|||||||
{
|
{
|
||||||
if (StrCmpi(k->ServerName, server_name) != 0 ||
|
if (StrCmpi(k->ServerName, server_name) != 0 ||
|
||||||
k->ServerPort != server_port || k->Enable == false ||
|
k->ServerPort != server_port || k->Enable == false ||
|
||||||
k->UdpMode)
|
k->UdpMode == false)
|
||||||
{
|
{
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user