diff options
author | Denys Vlasenko | 2018-05-14 11:06:35 +0200 |
---|---|---|
committer | Denys Vlasenko | 2018-05-14 11:11:08 +0200 |
commit | 6027597fd1a1a9293818db4729625fff375bf907 (patch) | |
tree | a8a38d8459b6a87f0c2132a5c05c779d8c1f4eca /networking/udhcp/dhcpd.c | |
parent | 30f4d52ed17112f4fa340afe3bcaf305eeed36d9 (diff) | |
download | busybox-6027597fd1a1a9293818db4729625fff375bf907.zip busybox-6027597fd1a1a9293818db4729625fff375bf907.tar.gz |
udhcpc6: set -x options in request
Last foru commits:
function old new delta
option_to_env 621 791 +170
.rodata 168351 168505 +154
attach_option 431 506 +75
add_d6_client_options 112 167 +55
d6_option_strings 30 84 +54
udhcp_str2optset 644 660 +16
d6_optflags 12 20 +8
udhcpc6_main 2590 2596 +6
udhcpc_main 2648 2651 +3
read_optset 15 18 +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 10/0 up/down: 544/0) Total: 544 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r-- | networking/udhcp/dhcpd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 19f94a2..ef59dca 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -362,7 +362,10 @@ static int FAST_FUNC read_staticlease(const char *const_line, void *arg) } static int FAST_FUNC read_optset(const char *line, void *arg) { - return udhcp_str2optset(line, arg, dhcp_optflags, dhcp_option_strings); + return udhcp_str2optset(line, arg, + dhcp_optflags, dhcp_option_strings, + /*dhcpv6:*/ 0 + ); } struct config_keyword { |