nshlib/netcmds:modify the description of setting MTU
modify the description of setting MTU Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
parent
f270ef644e
commit
cb292d0608
@ -670,7 +670,7 @@ system image.
|
||||
|
||||
Dump data in hexadecimal format from a file or character device.
|
||||
|
||||
- `ifconfig [nic_name [address_family] [mtu <len>] | [[<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask <net-mask>|prefixlen <len>] [dns <dns-address>] [hw <hw-mac>]]`
|
||||
- `ifconfig [nic_name [address_family] [[mtu <len>] | [<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask <net-mask>|prefixlen <len>] [dns <dns-address>] [hw <hw-mac>]]`
|
||||
|
||||
Show the current configuration of the network, for example:
|
||||
|
||||
|
@ -255,7 +255,7 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
#ifdef CONFIG_NET
|
||||
# ifndef CONFIG_NSH_DISABLE_IFCONFIG
|
||||
{ "ifconfig", cmd_ifconfig, 1, 12,
|
||||
"[interface [address_family] [<ip-address>|dhcp]] | [mtu <len>]"
|
||||
"[interface [address_family] [mtu <len>] | [<ip-address>|dhcp]]"
|
||||
"[dr|gw|gateway <dr-address>] [netmask <net-mask>|prefixlen <len>] "
|
||||
"[dns <dns-address>] [hw <hw-mac>]" },
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user