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>
This commit is contained in:
parent
46158dc833
commit
266f6f1973
4 changed files with 54 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue