summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-03-25 12:32:43 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-03-25 14:08:50 +0200
commit3f2173fea50642d1ccaa9539dee16f6dfacef75b (patch)
treeeee9ead5a6eed81b95640706cb1b8559f05c2ba8 /src
parent7fb85fcd87d63c4e1c8d113eb58e7aabb597bd6d (diff)
downloadconnman-3f2173fea50642d1ccaa9539dee16f6dfacef75b.tar.gz
connman-3f2173fea50642d1ccaa9539dee16f6dfacef75b.tar.bz2
connman-3f2173fea50642d1ccaa9539dee16f6dfacef75b.zip
service: Send IP config changed signal in disconnect
We did not send the IP config changed signal during disconnect. This can confuse the dbus signal listeners. Fixes BMC#25989
Diffstat (limited to 'src')
-rw-r--r--src/service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index e93b708b..78e904f8 100644
--- a/src/service.c
+++ b/src/service.c
@@ -5849,7 +5849,10 @@ int __connman_service_disconnect(struct connman_service *service)
NULL);
__connman_ipconfig_address_remove(service->ipconfig_ipv4);
+ settings_changed(service, service->ipconfig_ipv4);
+
__connman_ipconfig_address_remove(service->ipconfig_ipv6);
+ settings_changed(service, service->ipconfig_ipv6);
__connman_ipconfig_disable(service->ipconfig_ipv4);
__connman_ipconfig_disable(service->ipconfig_ipv6);