NSH: Code expects CONFIG_NSH_DRIPADDR and CONFIG_NSH_NETMASK even if DHCPC is necessary. For now, just removed the dependency on DHCPC in the Kconfig file, but more thought is needed.

This commit is contained in:
Gregory Nutt 2014-01-09 13:39:40 -06:00
parent 700b3989fb
commit de324350b5

View File

@ -661,7 +661,7 @@ config NSH_IPADDR
config NSH_DRIPADDR
hex "Router IP address"
default 0x0a000001
depends on NSH_LIBRARY && NET && !NSH_DHCPC
depends on NSH_LIBRARY && NET
---help---
Default router IP address (aka, Gateway). This is a 32-bit integer
value in host order. So, as an example, 0x10000001 would be 10.0.0.1.
@ -669,7 +669,7 @@ config NSH_DRIPADDR
config NSH_NETMASK
hex "Network mask"
default 0xffffff00
depends on NSH_LIBRARY && NET && !NSH_DHCPC
depends on NSH_LIBRARY && NET
---help---
Network mask. This is a 32-bit integer value in host order. So, as
an example, 0xffffff00 would be 255.255.255.0.