mirror of
https://github.com/oe7drt/YSFClients.git
synced 2025-12-06 05:32:02 +01:00
Fix issue #321
This commit is contained in:
parent
e57b43377c
commit
daa1b56f3a
|
|
@ -119,6 +119,8 @@ bool CYSFNetwork::setDestination(const std::string& name, const sockaddr_storage
|
||||||
m_addrLen = addrLen;
|
m_addrLen = addrLen;
|
||||||
m_linked = false;
|
m_linked = false;
|
||||||
|
|
||||||
|
close();
|
||||||
|
|
||||||
bool ret = open();
|
bool ret = open();
|
||||||
if (ret) {
|
if (ret) {
|
||||||
m_pollTimer.start();
|
m_pollTimer.start();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue