projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vpn: Cleanup vpn connections when vpnd dies
[platform/upstream/connman.git]
/
plugins
/
vpn.c
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)