Merged in masayuki2009/nuttx.apps/network_test (pull request #97)
NSH library: Fix build break in nsh_command.c with IPv4/IPv6 dual stack. Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
4e4d5496cb
@ -474,7 +474,7 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
|
||||
#if defined(CONFIG_NSH_TELNET) && !defined(CONFIG_NSH_DISABLE_TELNETD)
|
||||
#if defined(CONFIG_NET_IPv4) && defined(CONFIG_NET_IPv6)
|
||||
{"telnetd", cmd_telnetd, 2, 2, [ipv4|ipv6] },
|
||||
{"telnetd", cmd_telnetd, 2, 2, "[ipv4|ipv6]" },
|
||||
#else
|
||||
{"telnetd", cmd_telnetd, 1, 1, NULL },
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user