Let the test tool use ConnMan as user agent string
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 30 Oct 2010 13:54:10 +0000 (15:54 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 30 Oct 2010 13:54:10 +0000 (15:54 +0200)
tools/web-test.c

index 0d0e363..f48853e 100644 (file)
@@ -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],