From 1f29bdb3f8f8881f179427477027140efe4821a1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 30 Oct 2010 15:54:10 +0200 Subject: [PATCH] Let the test tool use ConnMan as user agent string --- tools/web-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/web-test.c b/tools/web-test.c index 0d0e363..f48853e 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], -- 2.7.4