mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
dhcp: log client-id of DHCP instance
This commit is contained in:
parent
1b732e28f7
commit
2af1dc1d28
|
@ -230,6 +230,15 @@ _set_client_id (NMDhcpClient *self, GBytes *client_id, gboolean take)
|
|||
priv->client_id = client_id;
|
||||
if (!take && client_id)
|
||||
g_bytes_ref (client_id);
|
||||
|
||||
{
|
||||
gs_free char *s = NULL;
|
||||
|
||||
_LOGT ("client-id: %s",
|
||||
priv->client_id
|
||||
? (s = nm_dhcp_utils_duid_to_string (priv->client_id))
|
||||
: "default");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue