manager: log the address, not the path of the master active connection

The connection might not be exported on D-Bus at that point yet and thus shows
up as (null) in logs, which is not too helpful.
This commit is contained in:
Lubomir Rintel 2015-06-07 23:22:04 +02:00
parent c4e6dd71a5
commit edbf766e96

View file

@ -2696,9 +2696,9 @@ _internal_activate_device (NMManager *self, NMActiveConnection *active, GError *
} }
nm_active_connection_set_master (active, master_ac); nm_active_connection_set_master (active, master_ac);
nm_log_dbg (LOGD_CORE, "Activation of '%s' depends on active connection %s", nm_log_dbg (LOGD_CORE, "Activation of '%s' depends on active connection %p",
nm_connection_get_id (connection), nm_connection_get_id (connection),
nm_active_connection_get_path (master_ac)); master_ac);
} }
/* Check slaves for master connection and possibly activate them */ /* Check slaves for master connection and possibly activate them */