aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_dhcpc.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-02 15:07:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-02 15:07:46 +0200
commit698cdef538f51bb85b68d591b1e42eb6b04d891c (patch)
tree0946d0c3a0f0749f30d4f16a6c50e519e03f5de9 /networking/udhcp/d6_dhcpc.c
parent265fcddd08f22c99a2a419a1537c18f4d6d43e9f (diff)
downloadbusybox-w32-698cdef538f51bb85b68d591b1e42eb6b04d891c.tar.gz
busybox-w32-698cdef538f51bb85b68d591b1e42eb6b04d891c.tar.bz2
busybox-w32-698cdef538f51bb85b68d591b1e42eb6b04d891c.zip
udhcpc: remove deprecated -H/-h HOSTNAME options (9 years), deprecate -V VENDOR
function old new delta udhcpc_main 2563 2582 +19 dhcp_option_strings 294 301 +7 dhcp_optflags 80 82 +2 .rodata 103250 103248 -2 udhcpc_longopts 252 241 -11 add_client_options 209 175 -34 alloc_dhcp_option 59 - -59 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 3/3 up/down: 28/-106) Total: -78 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 }