Closed zuozhehao closed 2 years ago
I tried to add a length judgment to solve the problem
https://github.com/brutella/dnssd/blob/master/service.go#L150-L152
if len(s.ifaceIPs) > 0 {
if ips, ok := s.ifaceIPs[iface.Name]; ok {
return ips
}
}
This should be fixed by now.