mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 21:20:10 +01:00
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.
This commit is contained in:
parent
42ee2e6792
commit
faae84370f
1 changed files with 0 additions and 4 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue