Fix NSH default IP address
This commit is contained in:
parent
fd832f1c4a
commit
cbd35d4fee
@ -650,4 +650,7 @@
|
|||||||
|
|
||||||
* apps/nshlib/nsh_netcmds.c: Remove a warning when DHCP is not
|
* apps/nshlib/nsh_netcmds.c: Remove a warning when DHCP is not
|
||||||
enabled (2013-9-17).
|
enabled (2013-9-17).
|
||||||
|
* apps/nshlib/Kconfig: Default IP address should be 0x0a000001
|
||||||
|
(10.0.0.1), not 0xa0000001 (160.0.0.1). Ditto for the gateway
|
||||||
|
(2013-9017).
|
||||||
|
|
||||||
|
@ -636,7 +636,7 @@ config NSH_DHCPC
|
|||||||
|
|
||||||
config NSH_IPADDR
|
config NSH_IPADDR
|
||||||
hex "Target IP address"
|
hex "Target IP address"
|
||||||
default 0xa0000002
|
default 0x0a000002
|
||||||
depends on NSH_LIBRARY && NET && !NSH_DHCPC
|
depends on NSH_LIBRARY && NET && !NSH_DHCPC
|
||||||
---help---
|
---help---
|
||||||
If NSH_DHCPC is NOT set, then the static IP address must be provided.
|
If NSH_DHCPC is NOT set, then the static IP address must be provided.
|
||||||
@ -645,7 +645,7 @@ config NSH_IPADDR
|
|||||||
|
|
||||||
config NSH_DRIPADDR
|
config NSH_DRIPADDR
|
||||||
hex "Router IP address"
|
hex "Router IP address"
|
||||||
default 0xa0000001
|
default 0x0a000001
|
||||||
depends on NSH_LIBRARY && NET && !NSH_DHCPC
|
depends on NSH_LIBRARY && NET && !NSH_DHCPC
|
||||||
---help---
|
---help---
|
||||||
Default router IP address (aka, Gateway). This is a 32-bit integer
|
Default router IP address (aka, Gateway). This is a 32-bit integer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user