Merged in ebsong/fork-apps (pull request #152)

Master

* nettest: fix typo!

    NET_LOOPBACK -> CONFIG_NET_LOOPBACK

    Signed-off-by: EunBong Song <eunb.song@samsung.com>

* nettest: fix compilation error.

    Should enable NET_SETSOCKOPT for preventing compilation error.

    Signed-off-by: EunBong Song <eunb.song@samsung.com>

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
EunBong Song 2018-08-28 13:46:49 +00:00 committed by GregoryN
parent 392943a0a0
commit 1ee6fbf296
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ config EXAMPLES_NETTEST
bool "Network test example"
default n
depends on NET_TCP
depends on NET_SOCKOPTS
---help---
Enable the network test example

View File

@ -76,7 +76,7 @@ uint16_t g_nettestserver_ipv6[8] =
#else
#if defined(CONFIG_EXAMPLES_NETTEST_LOOPBACK) && defined(NET_LOOPBACK)
#if defined(CONFIG_EXAMPLES_NETTEST_LOOPBACK) && defined(CONFIG_NET_LOOPBACK)
uint32_t g_nettestserver_ipv4 = HTONL(0x7f000001);
#else
uint32_t g_nettestserver_ipv4 = HTONL(CONFIG_EXAMPLES_NETTEST_SERVERIP);