Commit 0e1fb1db authored by Thomas Haller's avatar Thomas Haller

dhcp: fix check for client-id in _set_client_id()

Fixes: 686afe53
parent 5eea9be9
......@@ -195,6 +195,7 @@ _set_client_id (NMDhcpClient *self, GBytes *client_id, gboolean take)
if ( priv->client_id == client_id
|| ( priv->client_id
&& client_id
&& g_bytes_equal (priv->client_id, client_id))) {
if (take && client_id)
g_bytes_unref (client_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment