added domain name resolving before connection for wg/awg and xray protocols (#814)
added domain name resolving before connection
This commit is contained in:
parent
76e5039578
commit
46cd740a84
12 changed files with 61 additions and 46 deletions
|
@ -233,7 +233,7 @@ void VpnConnection::connectToVpn(int serverIndex, const ServerCredentials &crede
|
|||
}
|
||||
#endif
|
||||
|
||||
m_remoteAddress = credentials.hostName;
|
||||
m_remoteAddress = NetworkUtilities::getIPAddress(credentials.hostName);
|
||||
emit connectionStateChanged(Vpn::ConnectionState::Connecting);
|
||||
|
||||
m_vpnConfiguration = vpnConfiguration;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue