mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2024-11-26 00:58:37 -05:00
Add extra warning if unable to re-open the NXCore link.
This commit is contained in:
parent
e14ecebb62
commit
81b30bdcd2
@ -252,7 +252,9 @@ void CNXDNReflector::run()
|
|||||||
if (m_nxCoreNetwork == NULL) {
|
if (m_nxCoreNetwork == NULL) {
|
||||||
std::string callsign = lookup->find(srcId);
|
std::string callsign = lookup->find(srcId);
|
||||||
LogMessage("NXCore link enabled by %s at %s", callsign.c_str(), current->m_callsign.c_str());
|
LogMessage("NXCore link enabled by %s at %s", callsign.c_str(), current->m_callsign.c_str());
|
||||||
openNXCore();
|
bool ok = openNXCore();
|
||||||
|
if (!ok)
|
||||||
|
LogWarning("Unable to open the NXCore link");
|
||||||
}
|
}
|
||||||
} else if (nxCoreTGDisable != 0U && grp && dstId == nxCoreTGDisable) {
|
} else if (nxCoreTGDisable != 0U && grp && dstId == nxCoreTGDisable) {
|
||||||
if (m_nxCoreNetwork != NULL) {
|
if (m_nxCoreNetwork != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user