mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 12:50:09 +01:00
dhcp: log client-id of DHCP instance
(cherry picked from commit 2af1dc1d28)
This commit is contained in:
parent
5dc8a14576
commit
16bde2d1ec
1 changed files with 9 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue