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:
Masayuki Ishikawa 2017-07-04 01:31:41 +00:00 committed by Gregory Nutt
commit 4e4d5496cb

View File

@ -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