diff options
author | Martin Lewis <martin.lewis.x84@gmail.com> | 2020-06-23 15:25:09 -0500 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-29 15:26:09 +0200 |
commit | 1f86ecb72974d0b284d73e7fea5acdab104af5f8 (patch) | |
tree | e4cc4430914512f88b2c118d555639748bfece01 /util-linux/volume_id/unused_mac.c | |
parent | acdc8eed89399a9fa5e7478ee40b928c65e3ab4e (diff) | |
download | busybox-1f86ecb72974d0b284d73e7fea5acdab104af5f8.tar.gz |
udhcpc: fix a TODO in fill_envp using option scanner
fill_envp now iterates over the packet only once instead of a few hundred times
using the new option scanner.
function old new delta
udhcp_scan_options - 189 +189
putenvp - 46 +46
init_scan_state - 22 +22
udhcp_get_option 227 104 -123
udhcp_run_script 835 601 -234
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 0/2 up/down: 257/-357) Total: -100 bytes
Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/unused_mac.c')
0 files changed, 0 insertions, 0 deletions