summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dhcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index f84e394c..0ed5ead8 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -407,6 +407,8 @@ static int dhcp_request(struct connman_dhcp *dhcp)
if (getenv("CONNMAN_DHCP_DEBUG"))
g_dhcp_client_set_debug(dhcp_client, dhcp_debug, "DHCP");
+ g_dhcp_client_set_id(dhcp_client);
+
hostname = connman_utsname_get_hostname();
if (hostname != NULL)
g_dhcp_client_set_send(dhcp_client, G_DHCP_HOST_NAME, hostname);