Commit 80449c032c595707c9eb4e3517e79e43546b9c78

Authored by Joe Hershberger
1 parent 8df69d9063

net: Add the BOOTP_DNS2 option to Kconfig

Commit 3b3ea2c56ec4bc5 ("Kconfig: cmd: Make networking command dependent on NET")
removed the help documentation from the README but didn't add it back to Kconfig.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Duncan Hare <dh@synoia.com>

Showing 1 changed file with 11 additions and 0 deletions Side-by-side Diff

... ... @@ -1056,6 +1056,17 @@
1056 1056 returned, you must set BOOTP_DNS2 to store that second server IP
1057 1057 also.
1058 1058  
  1059 +config BOOTP_DNS2
  1060 + bool "Store 'dnsip2' from BOOTP/DHCP server"
  1061 + depends on BOOTP_DNS
  1062 + help
  1063 + If a DHCP client requests the DNS server IP from a DHCP server,
  1064 + it is possible that more than one DNS serverip is offered to the
  1065 + client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS
  1066 + server IP will be stored in the additional environment
  1067 + variable "dnsip2". The first DNS serverip is always
  1068 + stored in the variable "dnsip", when BOOTP_DNS is defined.
  1069 +
1059 1070 config BOOTP_GATEWAY
1060 1071 bool "Request & store 'gatewayip' from BOOTP/DHCP server"
1061 1072 depends on CMD_BOOTP