busybox/networking
Denys Vlasenko 265fcddd08 udhcpc: include client-id option in DECLINEs, even if it's a custom -x 61:HEX option
client_data.vendorclass, .hostname and .fqdn probably need the same treatment:
just insert them into the list of -x opts, get rid of

        if (client_data.vendorclass)
                udhcp_add_binary_option(packet, client_data.vendorclass);
        if (client_data.hostname)
                udhcp_add_binary_option(packet, client_data.hostname);
        if (client_data.fqdn)
                udhcp_add_binary_option(packet, client_data.fqdn);

function                                             old     new   delta
udhcp_insert_new_option                                -     166    +166
perform_release                                      171     207     +36
perform_d6_release                                   227     259     +32
udhcpc6_main                                        2558    2580     +22
init_d6_packet                                       103      84     -19
udhcpc_main                                         2585    2564     -21
attach_option                                        397     253    -144
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/3 up/down: 256/-184)           Total: 72 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-06-02 14:07:26 +02:00
..
libiproute
ssl_helper
ssl_helper-wolfssl
udhcp udhcpc: include client-id option in DECLINEs, even if it's a custom -x 61:HEX option 2021-06-02 14:07:26 +02:00
arp.c
arping.c
brctl.c
Config.src
dnsd.c
ether-wake.c
ftpd.c
ftpgetput.c
hostname.c
httpd_helpers.sh
httpd_indexcgi.c
httpd_post_upload.cgi
httpd_ssi.c
httpd.c
ifconfig.c
ifenslave.c
ifplugd.c
ifupdown.c
inetd.c
interface.c
ip.c
ipcalc.c
isrv_identd.c
isrv.c
isrv.h
Kbuild.src
nameif.c
nbd-client.c
nc_bloaty.c
nc.c
netstat.c
nslookup.c
ntpd.c
ntpd.diff
parse_pasv_epsv.c
ping.c
pscan.c
route.c
slattach.c
ssl_client.c
tc.c
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c
telnet.c
telnetd.c
telnetd.ctrlSQ.patch
telnetd.IAC_test.sh
tftp.c
tls_aes.c
tls_aes.h
tls_aesgcm.c
tls_aesgcm.h
tls_fe.c
tls_pstm_montgomery_reduce.c
tls_pstm_mul_comba.c
tls_pstm_sqr_comba.c
tls_pstm.c
tls_pstm.h
tls_rsa.c
tls_rsa.h
tls_sp_c32.c
tls_symmetric.h
tls.c
tls.h
traceroute.c
tunctl.c
vconfig.c
wget.c
whois.c
zcip.c