summaryrefslogtreecommitdiff
path: root/src/nm-dispatcher.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-11-13 14:38:13 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-11-13 16:13:40 +0100
commitfaae84370f5983224dfdb4bb674943f21511ecbb (patch)
tree04b944803ce0dadeec404f76b0bb555c9d639f1e /src/nm-dispatcher.c
parent42ee2e679244dbcc7cf5fdc37a5fb3eb81ebb62b (diff)
downloadNetworkManager-faae84370f5983224dfdb4bb674943f21511ecbb.tar.gz
dispatcher: don't abort when VPN connections have no IPv4
They don't need it. Also, we shouldn't assert on something that can be done via a D-Bus API.
Diffstat (limited to 'src/nm-dispatcher.c')
-rw-r--r--src/nm-dispatcher.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nm-dispatcher.c b/src/nm-dispatcher.c
index af62192a01..dad48520e2 100644
--- a/src/nm-dispatcher.c
+++ b/src/nm-dispatcher.c
@@ -492,10 +492,6 @@ _dispatcher_call (DispatcherAction action,
: (callback ? " (with callback)" : ""));
}
- /* VPN actions require at least an IPv4 config (for now) */
- if (action == DISPATCHER_ACTION_VPN_UP)
- g_return_val_if_fail (vpn_ip4_config != NULL, FALSE);
-
if (!_get_monitor_by_action(action)->has_scripts) {
if (blocking == FALSE && (out_call_id || callback)) {
info = g_malloc0 (sizeof (*info));