aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_dhcpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r--networking/udhcp/d6_dhcpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index c4bedb259..3fd1fa7ce 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -1296,7 +1296,8 @@ int udhcpc6_main(int argc UNUSED_PARAM, char **argv)
1296 /* not set, set the default client ID */ 1296 /* not set, set the default client ID */
1297 client_data.clientid[1] = 3; /* DUID-LL */ 1297 client_data.clientid[1] = 3; /* DUID-LL */
1298 client_data.clientid[3] = 1; /* ethernet */ 1298 client_data.clientid[3] = 1; /* ethernet */
1299 clientid_mac_ptr = udhcp_insert_new_option(&client_data.options, D6_OPT_CLIENTID, 1299 clientid_mac_ptr = udhcp_insert_new_option(
1300 &client_data.options, D6_OPT_CLIENTID,
1300 client_data.clientid, 2+2 + 6, /*dhcp6:*/ 1); 1301 client_data.clientid, 2+2 + 6, /*dhcp6:*/ 1);
1301 clientid_mac_ptr += 2+2 + 2+2; /* skip option code, len, DUID-LL, ethernet */ 1302 clientid_mac_ptr += 2+2 + 2+2; /* skip option code, len, DUID-LL, ethernet */
1302 } 1303 }