|
|
|
@ -2334,7 +2334,8 @@ void CMiniDexed::UpdateNetwork() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static constexpr const char *ServiceTypeFTP = "_ftp._tcp"; |
|
|
|
|
if (!m_pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21)) |
|
|
|
|
static const char *ftpTxt[] = { "app=MiniDexed", nullptr }; |
|
|
|
|
if (!m_pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21, ftpTxt)) |
|
|
|
|
{ |
|
|
|
|
LOGPANIC ("Cannot publish mdns service"); |
|
|
|
|
} |
|
|
|
@ -2384,7 +2385,8 @@ void CMiniDexed::UpdateNetwork() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static constexpr const char *ServiceTypeFTP = "_ftp._tcp"; |
|
|
|
|
if (!m_pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21)) |
|
|
|
|
static const char *ftpTxt[] = { "app=MiniDexed", nullptr }; |
|
|
|
|
if (!m_pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21, ftpTxt)) |
|
|
|
|
{ |
|
|
|
|
LOGPANIC ("Cannot publish mdns service"); |
|
|
|
|
} |
|
|
|
|