diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index be02212..2ae0bb0 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -773,6 +773,8 @@ void CYSFGateway::startupLinking() } } } + if (m_startup.empty()) + LogMessage("No connection startup"); } void CYSFGateway::readFCSRoomsFile(const std::string& filename) diff --git a/YSFGateway/YSFNetwork.cpp b/YSFGateway/YSFNetwork.cpp index b291be6..cb97f4f 100644 --- a/YSFGateway/YSFNetwork.cpp +++ b/YSFGateway/YSFNetwork.cpp @@ -166,7 +166,11 @@ void CYSFNetwork::clock(unsigned int ms) return; if (::memcmp(buffer, "YSFP", 4U) == 0 && !m_linked) { - LogMessage("Linked to %s", m_name.c_str()); + if (strcmp(m_name.c_str(),"MMDVM")== 0) + LogMessage("Link successful to %s", m_name.c_str()); + else + LogMessage("Linked to %s", m_name.c_str()); + m_linked = true; }