increase timeout after connection for getting info about routes

This commit is contained in:
Fedotov Anton 2021-12-02 22:58:44 +03:00
parent 3dd207a3a1
commit 5245fe103c
3 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,7 @@ void Ikev2Protocol::newConnectionStateEventReceived(UINT unMsg, tagRASCONNSTATE
//SetEvent(gEvent_handle);
{
//get the network settings of adapters
std::this_thread::sleep_for(std::chrono::seconds(3));
std::this_thread::sleep_for(std::chrono::seconds(4));
std::string p1,p2,p3;
const auto ret = adpInfo.get_adapter_info(tunnelName().toStdString());
if (std::get<0>(ret) == false){