diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-11-13 14:38:13 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-11-13 16:13:40 +0100 |
commit | faae84370f5983224dfdb4bb674943f21511ecbb (patch) | |
tree | 04b944803ce0dadeec404f76b0bb555c9d639f1e /src/nm-dispatcher.c | |
parent | 42ee2e679244dbcc7cf5fdc37a5fb3eb81ebb62b (diff) | |
download | NetworkManager-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.c | 4 |
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)); |