Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
NetworkManager
NetworkManager
Commits
75f767ca
Commit
75f767ca
authored
Nov 09, 2014
by
Lubomir Rintel
🥕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libnm: Don't expect VPN connections to attach to the device
parent
282d9b0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
libnm/nm-manager.c
libnm/nm-manager.c
+6
-3
No files found.
libnm/nm-manager.c
View file @
75f767ca
...
...
@@ -818,9 +818,12 @@ recheck_pending_activations (NMManager *self)
devices
=
nm_active_connection_get_devices
(
candidate
);
if
(
devices
->
len
==
0
)
continue
;
device
=
devices
->
pdata
[
0
];
if
(
nm_device_get_active_connection
(
device
)
!=
candidate
)
continue
;
if
(
!
NM_IS_VPN_CONNECTION
(
candidate
))
{
device
=
devices
->
pdata
[
0
];
if
(
nm_device_get_active_connection
(
device
)
!=
candidate
)
continue
;
}
activate_info_complete
(
info
,
candidate
,
NULL
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment