diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-09-13 12:25:20 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-09-13 12:25:20 +0200 |
commit | 88b512c1a509c6a318a33112fba1bbeb59bf7b03 (patch) | |
tree | bd7eaf1e99ee2f5ffe4d058e7c1c5de39499ee5b /src/wispr.c | |
parent | 84851614929bbbaf7dcf893c64dfa60bb588bc86 (diff) | |
download | connman-88b512c1a509c6a318a33112fba1bbeb59bf7b03.tar.gz connman-88b512c1a509c6a318a33112fba1bbeb59bf7b03.tar.bz2 connman-88b512c1a509c6a318a33112fba1bbeb59bf7b03.zip |
wispr: Add magic "wispr" keyword to user agent
Without the "wispr" keyword in the user agent string, some WISPr 1.0
hotspots (like T-Mobile and Telekom) are not responding with the
proper WISPr XML properties.
Diffstat (limited to 'src/wispr.c')
-rw-r--r-- | src/wispr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wispr.c b/src/wispr.c index 54189c9e..8a9e8eb5 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -604,7 +604,7 @@ static void proxy_callback(const char *proxy, void *user_data) g_web_set_proxy(wp_context->web, proxy); g_web_set_accept(wp_context->web, NULL); - g_web_set_user_agent(wp_context->web, "ConnMan/%s", VERSION); + g_web_set_user_agent(wp_context->web, "ConnMan/%s wispr", VERSION); g_web_set_close_connection(wp_context->web, TRUE); connman_wispr_message_init(&wp_context->wispr_msg); |