diff --git a/src/minidexed.cpp b/src/minidexed.cpp index 2b4127d..ddde684 100644 --- a/src/minidexed.cpp +++ b/src/minidexed.cpp @@ -2228,7 +2228,7 @@ void CMiniDexed::UpdateNetwork() } static const char *ppText2[] = {"FTP Server", nullptr}; // TXT record strings static constexpr const char *ServiceTypeFTP = "_ftp._tcp"; - if (!pmDNSPublisher->PublishService (ServiceName, CmDNSPublisher::ServiceTypeFTP, + if (!pmDNSPublisher->PublishService (ServiceName, ServiceTypeFTP, 21, ppText2)) { LOGPANIC ("Cannot publish mdns service");