summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-30 15:54:10 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-30 15:54:10 +0200
commit1f29bdb3f8f8881f179427477027140efe4821a1 (patch)
treeae137ac7e1ce599ed847915a5b665eeb71aeac5e /tools
parentcfb55ed986edf9a51f8cc2fc9d81a015ab90c5c6 (diff)
downloadconnman-1f29bdb3f8f8881f179427477027140efe4821a1.tar.gz
connman-1f29bdb3f8f8881f179427477027140efe4821a1.tar.bz2
connman-1f29bdb3f8f8881f179427477027140efe4821a1.zip
Let the test tool use ConnMan as user agent string
Diffstat (limited to 'tools')
-rw-r--r--tools/web-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/web-test.c b/tools/web-test.c
index 0d0e363d..f48853e7 100644
--- a/tools/web-test.c
+++ b/tools/web-test.c
@@ -111,6 +111,8 @@ int main(int argc, char *argv[])
g_free(option_nameserver);
}
+ g_web_set_user_agent(web, "ConnMan/%s", VERSION);
+
timer = g_timer_new();
if (g_web_request(web, G_WEB_METHOD_GET, argv[1],