diff options
Diffstat (limited to 'ipv6.patch')
-rw-r--r-- | ipv6.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ipv6.patch b/ipv6.patch new file mode 100644 index 000000000000..5c2e2b9d293c --- /dev/null +++ b/ipv6.patch @@ -0,0 +1,11 @@ +--- src/resolv.c ++++ src/resolv.c.mod +@@ -84,7 +84,7 @@ static struct sockaddr *choose_any(struct ResolvQuery *); + + int resolv_init(struct ev_loop *loop, char **nameservers, int nameserver_num) + { +- resolv_mode = MODE_IPV4_FIRST; ++ resolv_mode = MODE_IPV6_FIRST; + + struct dns_ctx *ctx = &dns_defctx; + if (nameservers == NULL) { |