summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/portal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/portal.c b/plugins/portal.c
index b2215920..a1d142a0 100644
--- a/plugins/portal.c
+++ b/plugins/portal.c
@@ -77,6 +77,10 @@ static gboolean web_result(GWebResult *result, gpointer user_data)
&str) == TRUE)
connman_info("Client-Country: %s", str);
+ if (g_web_result_get_header(result, "X-ConnMan-Client-Region",
+ &str) == TRUE)
+ connman_info("Client-Region: %s", str);
+
connman_location_report_result(location,
CONNMAN_LOCATION_RESULT_ONLINE);
break;