summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2020-07-03 17:00:14 +0300
committerTom Rini <trini@konsulko.com>2020-07-28 23:18:10 +0300
commit3275f26bb6cda9e24966423460e74281e1a71888 (patch)
tree5a5ce09cd16c0130d7d8077135fd0d36cc7e6513 /net
parentbc3cff9453943a388752f354c5e47d795cc47381 (diff)
downloadu-boot-3275f26bb6cda9e24966423460e74281e1a71888.tar.xz
Convert CONFIG_BOOTP_SEND_HOSTNAME to Kconfig
This converts the following to Kconfig: CONFIG_BOOTP_SEND_HOSTNAME Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index ac6d0cf8a6..6c47b7d69c 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -8,6 +8,16 @@ menuconfig NET
if NET
+config BOOTP_SEND_HOSTNAME
+ bool "Send hostname to DNS server"
+ help
+ Some DHCP servers are capable to do a dynamic update of a
+ DNS server. To do this, they need the hostname of the DHCP
+ requester.
+ If CONFIG_BOOTP_SEND_HOSTNAME is defined, the content
+ of the "hostname" environment variable is passed as
+ option 12 to the DHCP server.
+
config NET_RANDOM_ETHADDR
bool "Random ethaddr if unset"
help