NSH library: Fix build break in nsh_command.c with IPv4/IPv6 dual stack.

This commit is contained in:
Masayuki Ishikawa 2017-07-04 10:13:26 +09:00
parent 10b5585d94
commit ef04aeaead

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