diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-04-04 14:44:52 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-04-05 14:43:20 +0300 |
commit | 23d1596d90296c27309826d83f4e29795b54c987 (patch) | |
tree | 5389468ce0b92ed59844f69d454da135ce136df1 /src | |
parent | e0f7dc80fe172d8e3115ec3f08c281bc37ee8019 (diff) | |
download | connman-23d1596d90296c27309826d83f4e29795b54c987.tar.gz connman-23d1596d90296c27309826d83f4e29795b54c987.tar.bz2 connman-23d1596d90296c27309826d83f4e29795b54c987.zip |
dnsproxy: Use ::1 when refreshing because of the address family
Diffstat (limited to 'src')
-rw-r--r-- | src/dnsproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsproxy.c b/src/dnsproxy.c index f1f7e4c8..77a86f72 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -303,7 +303,7 @@ static void refresh_dns_entry(struct cache_entry *entry, char *name) if (ipv6_resolve == NULL) { ipv6_resolve = g_resolv_new(0); g_resolv_set_address_family(ipv6_resolve, AF_INET6); - g_resolv_add_nameserver(ipv6_resolve, "127.0.0.1", 53, 0); + g_resolv_add_nameserver(ipv6_resolve, "::1", 53, 0); } if (entry->ipv4 == NULL) { |