1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-12-08 19:21:31 +03:00

Remove obsolete hardcoded build number checks

The open-source project began with version 1.00, build 9022.

With the exception of an informative message fallback for builds older than 9428 (2014), all checks were for closed-source builds.
This commit is contained in:
Davide Beatrici
2021-06-27 07:21:06 +02:00
parent 56bb573b17
commit 4221579e95
11 changed files with 10 additions and 118 deletions

View File

@ -9331,12 +9331,6 @@ void SmSessionDlgUpdate(HWND hWnd, SM_HUB *s)
}
}
if (s->p->ServerInfo.ServerBuildInt < 2844)
{
// Old version doesn't support for remote management of the sessions
ok2 = ok;
}
SetEnable(hWnd, IDOK, ok2);
SetEnable(hWnd, B_DISCONNECT, ok2);
SetEnable(hWnd, B_SESSION_IP_TABLE, ok);