Skip to content

Commit

Permalink
don't discover ipv6 host (but allow manual adding)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jan 6, 2024
1 parent 780bc8e commit 1834774
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static void discovery_callback(discovery_task_t *task, int status, const struct
if (addr->sa_family != AF_UNSPEC) { continue; }
// Ignore any link-local addresses
if (IN6_IS_ADDR_LINKLOCAL(&cur->data.AAAA.addr)) { continue; }
sockaddr_set_ip(addr, AF_INET6, &cur->data.AAAA.addr);
// sockaddr_set_ip(addr, AF_INET6, &cur->data.AAAA.addr);
break;
}
case RR_SRV: {
Expand Down

0 comments on commit 1834774

Please sign in to comment.