mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
fix: keep DNS and routing during seamless Xray switch on Linux
This commit is contained in:
@@ -253,6 +253,7 @@ void VpnConnection::connectToVpn(const QString &serverId, DockerContainer contai
|
||||
config.insert("deviceIpv4Address", clientIp);
|
||||
}
|
||||
}
|
||||
m_vpnConfiguration = config;
|
||||
m_active = new Tunnel(preAllocatedIfname, container, config, resolvedRemote, this);
|
||||
wireTunnelSignals(m_active, /*isActive=*/true);
|
||||
wireDaemonReconnectSignals();
|
||||
|
||||
Reference in New Issue
Block a user