From e64cc4dd7c819a0c9983a694116a22805301a344 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 15 Mar 2011 11:45:47 -0500 Subject: [PATCH] core: specific object of "/" means NULL Not sure how this got lost... but it did. --- src/nm-manager.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nm-manager.c b/src/nm-manager.c index e2ccf47c72..a39727caf9 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -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);