mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 04:40:20 +01:00
core: specific object of "/" means NULL
Not sure how this got lost... but it did.
This commit is contained in:
parent
b21fc6ed45
commit
e64cc4dd7c
1 changed files with 4 additions and 0 deletions
|
|
@ -683,6 +683,10 @@ pending_activation_new (NMManager *manager,
|
|||
g_return_val_if_fail (context != NULL, NULL);
|
||||
g_return_val_if_fail (device_path != NULL, NULL);
|
||||
|
||||
/* A specific object path of "/" means NULL */
|
||||
if (g_strcmp0 (specific_object_path, "/") == 0)
|
||||
specific_object_path = NULL;
|
||||
|
||||
/* Create the partial connection from the given settings */
|
||||
if (settings) {
|
||||
device = nm_manager_get_device_by_path (manager, device_path);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue