summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-17 15:51:33 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-17 15:51:33 -0600
commitbfc4e59af3c41812640520f6989242642958674a (patch)
tree1f9bd658c1fd8eb74532d9d10a6e19aa53357872 /apps
parentc807a6dc223f87fe2cef211e6684755e0f264be6 (diff)
downloadnuttx-bfc4e59af3c41812640520f6989242642958674a.tar.gz
nuttx-bfc4e59af3c41812640520f6989242642958674a.tar.bz2
nuttx-bfc4e59af3c41812640520f6989242642958674a.zip
Fix NSH default IP address
Diffstat (limited to 'apps')
-rw-r--r--apps/ChangeLog.txt3
-rw-r--r--apps/nshlib/Kconfig4
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt
index 39d781d1b..7fd647194 100644
--- a/apps/ChangeLog.txt
+++ b/apps/ChangeLog.txt
@@ -650,4 +650,7 @@
* apps/nshlib/nsh_netcmds.c: Remove a warning when DHCP is not
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).
diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig
index 5d5677f7e..64d027880 100644
--- a/apps/nshlib/Kconfig
+++ b/apps/nshlib/Kconfig
@@ -636,7 +636,7 @@ config NSH_DHCPC
config NSH_IPADDR
hex "Target IP address"
- default 0xa0000002
+ default 0x0a000002
depends on NSH_LIBRARY && NET && !NSH_DHCPC
---help---
If NSH_DHCPC is NOT set, then the static IP address must be provided.
@@ -645,7 +645,7 @@ config NSH_IPADDR
config NSH_DRIPADDR
hex "Router IP address"
- default 0xa0000001
+ default 0x0a000001
depends on NSH_LIBRARY && NET && !NSH_DHCPC
---help---
Default router IP address (aka, Gateway). This is a 32-bit integer