aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2018-04-13 13:18:34 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2018-04-13 13:27:52 +0200
commit266f6f19732f9b35487a87a346e58c1c3a0af43d (patch)
tree10489c89deea2665170fd4006c11b951dc284ee9 /examples
parent46158dc833ca48a63a2547bb26eee133aa19dccf (diff)
downloadbusybox-266f6f19732f9b35487a87a346e58c1c3a0af43d.tar.gz
busybox-266f6f19732f9b35487a87a346e58c1c3a0af43d.tar.bz2
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')
-rw-r--r--examples/udhcp/udhcpd.conf3
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
option lease 864000 # default: 10 days
option msstaticroutes 10.0.0.0/8 10.127.0.1 # single static route
option staticroutes 10.0.0.0/8 10.127.0.1, 10.11.12.0/24 10.11.12.1
-# Arbitrary option in hex form:
+# Arbitrary option in hex or string form:
option 0x08 01020304 # option 8: "cookie server IP addr: 1.2.3.4"
+option 14 "dumpfile"
# Currently supported options (for more info, see options.c):
#opt lease NUM