From 266f6f19732f9b35487a87a346e58c1c3a0af43d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 13 Apr 2018 13:18:34 +0200 Subject: 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 --- examples/udhcp/udhcpd.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') 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 -- cgit v1.2.3