summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 7341099a..9afdc902 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1548,6 +1548,16 @@ const char *connman_service_get_nameserver(struct connman_service *service)
return service->nameserver;
}
+void connman_service_set_proxy_method(struct connman_service *service,
+ enum connman_service_proxy_method method)
+{
+ if (service == NULL)
+ return;
+
+ service->proxy = method;
+
+}
+
enum connman_service_proxy_method connman_service_get_proxy_method(
struct connman_service *service)
{