arduino / mdns-discovery

mdns (bonjour) pluggable discovery
GNU General Public License v3.0
17 stars 6 forks source link

Changed mdns library to fix IPv6 issues on OS X #15

Closed silvanocerza closed 2 years ago

silvanocerza commented 2 years ago

I changed the mdns library in use from github.com/hashicorp/mdns to our forked version github.com/arduino/mdns one.

Our fork integrates the hashicorp/mdns#84 PR giving us the chance to fully disable IPv6, this way we avoid errors when it's not supported by the network.

{
  "eventType": "start_sync",
  "error": true,
  "message": "mdns lookup error: write udp6 [::]:53182-\u003e[ff02::fb]:5353: sendto: no route to host"
}
{
  "eventType": "start_sync",
  "error": true,
  "message": "mdns lookup error: write udp6 [::]:51040-\u003e[ff02::fb]:5353: sendto: no route to host"
}
{
  "eventType": "start_sync",
  "error": true,
  "message": "mdns lookup error: write udp6 [::]:55141-\u003e[ff02::fb]:5353: sendto: no route to host"
}