Merge branch 'dev' of github.com:amnezia-vpn/desktop-client into feature/v2ray-container

This commit is contained in:
vladimir.kuznetsov 2023-03-19 14:40:30 +03:00
commit 3b2d3a0b34
11 changed files with 26 additions and 29 deletions

View file

@ -922,7 +922,7 @@ ErrorCode ServerController::getAlreadyInstalledContainers(const ServerCredential
if (containerInfo.isEmpty()) {
continue;
}
const static QRegularExpression containerAndPortRegExp("(amnezia[-a-z]*).*?>([0-9]*)/(udp|tcp).*");
const static QRegularExpression containerAndPortRegExp("(amnezia[-a-z]*).*?:([0-9]*)->[0-9]*/(udp|tcp).*");
QRegularExpressionMatch containerAndPortMatch = containerAndPortRegExp.match(containerInfo);
if (containerAndPortMatch.hasMatch()) {
QString name = containerAndPortMatch.captured(1);