aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/config/networking/udhcp/Config.in
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-04 17:52:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-04 17:52:02 +0000
commitc31df6e995c36e2b14b74f727b8392e6c1c10afc (patch)
tree68b32e1188f7c55bf05be6f510aabeb4032f5893 /package/utils/busybox/config/networking/udhcp/Config.in
parent94850b0068be2dcfffe201bfbd5832dbea418d2c (diff)
downloadupstream-c31df6e995c36e2b14b74f727b8392e6c1c10afc.tar.gz
upstream-c31df6e995c36e2b14b74f727b8392e6c1c10afc.tar.bz2
upstream-c31df6e995c36e2b14b74f727b8392e6c1c10afc.zip
busybox: update to version 1.23.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45272
Diffstat (limited to 'package/utils/busybox/config/networking/udhcp/Config.in')
-rw-r--r--package/utils/busybox/config/networking/udhcp/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/utils/busybox/config/networking/udhcp/Config.in b/package/utils/busybox/config/networking/udhcp/Config.in
index 576a01a25f..4f48400225 100644
--- a/package/utils/busybox/config/networking/udhcp/Config.in
+++ b/package/utils/busybox/config/networking/udhcp/Config.in
@@ -90,6 +90,17 @@ config BUSYBOX_CONFIG_FEATURE_UDHCPC_ARPING
will DHCPDECLINE the offer if the address is in use,
and restart the discover process.
+config BUSYBOX_CONFIG_FEATURE_UDHCPC_SANITIZEOPT
+ bool "Do not pass malformed host and domain names"
+ default BUSYBOX_DEFAULT_FEATURE_UDHCPC_SANITIZEOPT
+ depends on BUSYBOX_CONFIG_UDHCPC
+ help
+ If selected, udhcpc will check some options (such as option 12 -
+ hostname) and if they don't look like valid hostnames
+ (for example, if they start with dash or contain spaces),
+ they will be replaced with string "bad" when exporting
+ to the environment.
+
config BUSYBOX_CONFIG_FEATURE_UDHCP_PORT
bool "Enable '-P port' option for udhcpd and udhcpc"
default BUSYBOX_DEFAULT_FEATURE_UDHCP_PORT