vpnd: Quit if no VPN configurations are found
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 12 Nov 2012 12:07:53 +0000 (14:07 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 23 Nov 2012 10:58:52 +0000 (12:58 +0200)
vpn/vpn-manager.c

index 1ba745b406eb94880c5828d92a81430d238add05..44684dd1ab30ba4f5a1113c7718d7e99f6731f08 100644 (file)
@@ -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;
 }