projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f134ca
)
service: Change IPv4 state when address is released
author
Jukka Rissanen
<jukka.rissanen@nokia.com>
Thu, 10 Feb 2011 15:52:19 +0000
(17:52 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 11 Feb 2011 11:27:07 +0000
(12:27 +0100)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
07fa7f6
..
7751dc0
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-4194,6
+4194,12
@@
static void service_ip_release(struct connman_ipconfig *ipconfig)
CONNMAN_SERVICE_STATE_DISCONNECT,
CONNMAN_IPCONFIG_TYPE_IPV6);
+ if (type == CONNMAN_IPCONFIG_TYPE_IPV4 &&
+ method == CONNMAN_IPCONFIG_METHOD_OFF)
+ __connman_service_indicate_state(service,
+ CONNMAN_SERVICE_STATE_DISCONNECT,
+ CONNMAN_IPCONFIG_TYPE_IPV4);
+
settings_changed(service);
}