Linux IPSec initial

This commit is contained in:
Mykola Baibuz 2024-08-01 21:37:56 +03:00
parent 90912f9231
commit b0b185027e
15 changed files with 313 additions and 10 deletions

View file

@ -277,7 +277,7 @@ Proto ContainerProps::defaultProtocol(DockerContainer c)
bool ContainerProps::isSupportedByCurrentPlatform(DockerContainer c)
{
#ifdef Q_OS_WINDOWS
#if defined(Q_OS_WINDOWS) || defined(Q_OS_LINUX)
return true;
#elif defined(Q_OS_IOS)
@ -309,13 +309,6 @@ bool ContainerProps::isSupportedByCurrentPlatform(DockerContainer c)
case DockerContainer::SSXray: return true;
default: return false;
}
#elif defined(Q_OS_LINUX)
switch (c) {
case DockerContainer::Ipsec: return false;
default: return true;
}
#else
return false;
#endif