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:
parent
392943a0a0
commit
1ee6fbf296
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user