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