summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-11-12 14:07:53 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-23 12:58:52 +0200
commitd3910ab6489d16082543215ffaa780981e520e31 (patch)
tree6d59bcf39ed9777cb48d94fad4877610034ccc51 /vpn
parent4b68388a8c617c88e28ab7c3fa7c7fca9b439c68 (diff)
downloadconnman-d3910ab6489d16082543215ffaa780981e520e31.tar.gz
connman-d3910ab6489d16082543215ffaa780981e520e31.tar.bz2
connman-d3910ab6489d16082543215ffaa780981e520e31.zip
vpnd: Quit if no VPN configurations are found
Diffstat (limited to 'vpn')
-rw-r--r--vpn/vpn-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpn/vpn-manager.c b/vpn/vpn-manager.c
index 1ba745b4..44684dd1 100644
--- a/vpn/vpn-manager.c
+++ b/vpn/vpn-manager.c
@@ -85,6 +85,8 @@ static DBusMessage *get_connections(DBusConnection *conn, DBusMessage *msg,
if (reply == NULL)
return __connman_error_failed(msg, -EINVAL);
+ __vpn_provider_check_connections();
+
return reply;
}