summaryrefslogtreecommitdiff
path: root/tools/web-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/web-test.c')
-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],