summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index ca4cfb40..913d729a 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2823,6 +2823,8 @@ int __connman_service_disconnect(struct connman_service *service)
else
return -EOPNOTSUPP;
+ __connman_ipconfig_set_proxy_autoconfig(service->ipconfig, NULL);
+
__connman_ipconfig_clear_address(service->ipconfig);
ipv6config = connman_ipconfig_get_ipv6config(service->ipconfig);