Try to also publish _ftp._tcp

network
probonopd 6 days ago committed by GitHub
parent 2a6d966aa1
commit a2f8b4c5cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      src/minidexed.cpp

@ -2226,6 +2226,13 @@ void CMiniDexed::UpdateNetwork()
{ {
LOGPANIC ("Cannot publish mdns service"); LOGPANIC ("Cannot publish mdns service");
} }
static const char *ppText2[] = {"FTP Server", nullptr}; // TXT record strings
static constexpr const char *ServiceTypeFTP = "_ftp._tcp";
if (!pmDNSPublisher->PublishService (ServiceName, CmDNSPublisher::ServiceTypeFTP,
21, ppText2))
{
LOGPANIC ("Cannot publish mdns service");
}
} }
else if (m_bNetworkReady && !bNetIsRunning) else if (m_bNetworkReady && !bNetIsRunning)
{ {

Loading…
Cancel
Save