From faae84370f5983224dfdb4bb674943f21511ecbb Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 13 Nov 2015 14:38:13 +0100 Subject: 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. --- src/nm-dispatcher.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/nm-dispatcher.c') 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)); -- cgit v1.2.1