diff --git a/core/backends/lan/mdns_wrapper.cpp b/core/backends/lan/mdns_wrapper.cpp index 8543f8786..a9bfe2cc3 100644 --- a/core/backends/lan/mdns_wrapper.cpp +++ b/core/backends/lan/mdns_wrapper.cpp @@ -257,7 +257,8 @@ static mdns_record_t createMdnsRecord(const Announcer::AnnouncedInfo &self, case MDNS_RECORDTYPE_SRV: // maps ".<_service-type>._tcp.local." to ".local." and port answer.name = createMdnsString(self.serviceInstance); answer.data.srv.name = createMdnsString(self.hostname); - answer.data.srv.port = self.port, answer.data.srv.priority = 0; + answer.data.srv.port = self.port; + answer.data.srv.priority = 0; answer.data.srv.weight = 0; break; case MDNS_RECORDTYPE_A: // maps ".local." to IPv4