mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
Eliminat a warning when both Ethernet and 6LoWPAN are enabled; improve some naming.
This commit is contained in:
@@ -240,11 +240,11 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
# ifndef CONFIG_NSH_DISABLE_IFCONFIG
|
||||
{ "ifconfig", cmd_ifconfig, 1, 11, "[nic-name [<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask <net-mask>] [dns <dns-address>] [hw <hw-mac>]" },
|
||||
{ "ifconfig", cmd_ifconfig, 1, 11, "[interface [<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask <net-mask>] [dns <dns-address>] [hw <hw-mac>]" },
|
||||
# endif
|
||||
# ifndef CONFIG_NSH_DISABLE_IFUPDOWN
|
||||
{ "ifdown", cmd_ifdown, 2, 2, "<nic-name>" },
|
||||
{ "ifup", cmd_ifup, 2, 2, "<nic-name>" },
|
||||
{ "ifdown", cmd_ifdown, 2, 2, "<interface>" },
|
||||
{ "ifup", cmd_ifup, 2, 2, "<interface>" },
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user