Fix assignation
This commit is contained in:
parent
55de49f197
commit
f007be0dc8
1 changed files with 2 additions and 1 deletions
|
@ -257,7 +257,8 @@ static mdns_record_t createMdnsRecord(const Announcer::AnnouncedInfo &self,
|
|||
case MDNS_RECORDTYPE_SRV: // maps "<service-name>.<_service-type>._tcp.local." to "<hostname>.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 "<hostname>.local." to IPv4
|
||||
|
|
Loading…
Reference in a new issue