Get DAPNET login working.

This commit is contained in:
Jonathan Naylor 2018-06-06 21:38:43 +01:00
parent 0e2c37be56
commit 51fb44771d
3 changed files with 13 additions and 11 deletions

View file

@ -244,11 +244,8 @@ int CDAPNETGateway::run()
}
bool ok = m_dapnetNetwork->read();
if (!ok) {
m_dapnetNetwork->close();
m_dapnetNetwork->open();
m_dapnetNetwork->login();
}
if (!ok)
recover();
unsigned int ms = stopWatch.elapsed();
stopWatch.start();