diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-13 13:18:34 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-13 13:27:52 +0200 |
commit | 266f6f19732f9b35487a87a346e58c1c3a0af43d (patch) | |
tree | 10489c89deea2665170fd4006c11b951dc284ee9 /examples/udhcp | |
parent | 46158dc833ca48a63a2547bb26eee133aa19dccf (diff) | |
download | busybox-w32-266f6f19732f9b35487a87a346e58c1c3a0af43d.tar.gz busybox-w32-266f6f19732f9b35487a87a346e58c1c3a0af43d.tar.bz2 busybox-w32-266f6f19732f9b35487a87a346e58c1c3a0af43d.zip |
udhcp: support string user options, closes 10946
function old new delta
udhcp_str2optset 536 628 +92
packed_usage 32757 32760 +3
udhcpc_main 2708 2692 -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 95/-16) Total: 79 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/udhcp')
-rw-r--r-- | examples/udhcp/udhcpd.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/udhcp/udhcpd.conf b/examples/udhcp/udhcpd.conf index eca44c0ab..90714bcdf 100644 --- a/examples/udhcp/udhcpd.conf +++ b/examples/udhcp/udhcpd.conf | |||
@@ -70,8 +70,9 @@ option domain local | |||
70 | option lease 864000 # default: 10 days | 70 | option lease 864000 # default: 10 days |
71 | option msstaticroutes 10.0.0.0/8 10.127.0.1 # single static route | 71 | option msstaticroutes 10.0.0.0/8 10.127.0.1 # single static route |
72 | option staticroutes 10.0.0.0/8 10.127.0.1, 10.11.12.0/24 10.11.12.1 | 72 | option staticroutes 10.0.0.0/8 10.127.0.1, 10.11.12.0/24 10.11.12.1 |
73 | # Arbitrary option in hex form: | 73 | # Arbitrary option in hex or string form: |
74 | option 0x08 01020304 # option 8: "cookie server IP addr: 1.2.3.4" | 74 | option 0x08 01020304 # option 8: "cookie server IP addr: 1.2.3.4" |
75 | option 14 "dumpfile" | ||
75 | 76 | ||
76 | # Currently supported options (for more info, see options.c): | 77 | # Currently supported options (for more info, see options.c): |
77 | #opt lease NUM | 78 | #opt lease NUM |