From 99319d484068a455fe31f3e489bf88428a364888 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 16 Nov 2024 22:45:01 +0100 Subject: [PATCH] m_pmDNSPublisher --- src/minidexed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minidexed.cpp b/src/minidexed.cpp index 6593c2f..f4b30a6 100644 --- a/src/minidexed.cpp +++ b/src/minidexed.cpp @@ -2242,7 +2242,7 @@ void CMiniDexed::UpdateNetwork() } static constexpr const char *ServiceTypeFTP = "_ftp._tcp"; - if (!pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21)) + if (!m_pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21)) { LOGPANIC ("Cannot publish mdns service"); } @@ -2267,7 +2267,7 @@ void CMiniDexed::UpdateNetwork() } static constexpr const char *ServiceTypeFTP = "_ftp._tcp"; - if (!pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21)) + if (!m_pmDNSPublisher->PublishService (m_pConfig->GetNetworkHostname(), ServiceTypeFTP, 21)) { LOGPANIC ("Cannot publish mdns service"); }