From 20a6ec8cd3f117fbd84cf144eff2db1f0d564946 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 9 Nov 2024 12:51:58 +0100 Subject: [PATCH] ServiceTypeFTP --- src/minidexed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");