projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
994e0ee
)
vpn: Cleanup vpn connections when vpnd dies
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Mon, 26 Nov 2012 13:29:29 +0000
(15:29 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 26 Nov 2012 14:25:23 +0000
(16:25 +0200)
plugins/vpn.c
patch
|
blob
|
history
diff --git
a/plugins/vpn.c
b/plugins/vpn.c
index
82fbdb5
..
c41722c
100644
(file)
--- a/
plugins/vpn.c
+++ b/
plugins/vpn.c
@@
-1460,6
+1460,8
@@
static void vpnd_created(DBusConnection *conn, void *user_data)
static void vpnd_removed(DBusConnection *conn, void *user_data)
{
DBG("connection %p", conn);
+
+ g_hash_table_remove_all(vpn_connections);
}
static void remove_connection(DBusConnection *conn, const char *path)