mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
NSH library: Fix build break in nsh_command.c with IPv4/IPv6 dual stack.
This commit is contained in:
parent
10b5585d94
commit
ef04aeaead
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue