summaryrefslogtreecommitdiff
path: root/gweb
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2011-07-04 14:34:57 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-07-06 17:55:19 +0200
commitb5ed90a449db73b7fb07cd8c9bf709a2ccf589e0 (patch)
treebe536dd2f526a895517c2532b3ee09230c9db726 /gweb
parent37bc8c858415df26772f6123a9a2f8b2827dd3d5 (diff)
downloadconnman-b5ed90a449db73b7fb07cd8c9bf709a2ccf589e0.tar.gz
connman-b5ed90a449db73b7fb07cd8c9bf709a2ccf589e0.tar.bz2
connman-b5ed90a449db73b7fb07cd8c9bf709a2ccf589e0.zip
gweb: Apply address family restiction to resolver
Diffstat (limited to 'gweb')
-rw-r--r--gweb/gweb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gweb/gweb.c b/gweb/gweb.c
index 536de006..34288bf2 100644
--- a/gweb/gweb.c
+++ b/gweb/gweb.c
@@ -294,6 +294,8 @@ gboolean g_web_set_address_family(GWeb *web, int family)
web->family = family;
+ g_resolv_set_address_family(web->resolv, family);
+
return TRUE;
}