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
..
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-12-18 22:51:46 +01:00
2020-12-13 19:18:28 +01:00
2020-12-13 19:04:19 +01:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00
2020-11-29 11:37:34 +01:00
2020-11-29 11:37:34 +01:00
2021-04-24 11:54:50 +02:00
2021-01-04 13:28:28 +01:00
2020-12-19 00:07:13 +01:00
2020-11-29 11:37:34 +01:00
2019-10-25 13:41:31 +02:00
2020-12-29 16:53:11 +01:00
2020-12-19 00:33:06 +01:00
2020-12-15 18:47:25 +01:00
2021-04-28 12:19:24 +02:00
2021-04-27 00:40:40 +02:00
2021-04-27 00:40:40 +02:00
2021-02-02 13:48:21 +01:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00
2021-04-30 01:42:24 +02:00
2020-08-13 17:12:56 +02:00