From 86098e08d81361365729c0d65ec320ac48269646 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 9 Jan 2015 12:02:17 -0600 Subject: update busybox to 2.23.0 add upstream patches. Fix the busybox disable mechanism. When you choose less or lsusb full blown version, be sure busybox applet is disabled. --- package/busybox/config/networking/udhcp/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'package/busybox/config/networking/udhcp/Config.in') diff --git a/package/busybox/config/networking/udhcp/Config.in b/package/busybox/config/networking/udhcp/Config.in index e0f20fc49..35e5ce538 100644 --- a/package/busybox/config/networking/udhcp/Config.in +++ b/package/busybox/config/networking/udhcp/Config.in @@ -89,6 +89,17 @@ config BUSYBOX_FEATURE_UDHCPC_ARPING will DHCPDECLINE the offer if the address is in use, and restart the discover process. +config BUSYBOX_FEATURE_UDHCPC_SANITIZEOPT + bool "Do not pass malformed host and domain names" + default y + depends on BUSYBOX_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_FEATURE_UDHCP_PORT bool "Enable '-P port' option for udhcpd and udhcpc" default n -- cgit v1.2.3