From ef04aeaeadfe43d26217b7709a147641cd6a2356 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Tue, 4 Jul 2017 10:13:26 +0900 Subject: [PATCH] NSH library: Fix build break in nsh_command.c with IPv4/IPv6 dual stack. --- nshlib/nsh_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_command.c b/nshlib/nsh_command.c index cca237151..4f51ca813 100644 --- a/nshlib/nsh_command.c +++ b/nshlib/nsh_command.c @@ -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