dhcp: log client-id of DHCP instance

This commit is contained in:
Thomas Haller 2018-10-18 08:17:52 +02:00
parent 1b732e28f7
commit 2af1dc1d28

View file

@ -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