mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-19 12:38:19 +00:00
NSH: Fix formatting of ifconfig Local Loopback output
This commit is contained in:
parent
ce3a2dc0d4
commit
b7b943067a
1 changed files with 2 additions and 2 deletions
|
|
@ -517,7 +517,7 @@ static int ifconfig_callback(FAR struct net_driver_s *dev, void *arg)
|
|||
|
||||
# if defined(CONFIG_NET_LOOPBACK)
|
||||
case NET_LL_LOOPBACK:
|
||||
nsh_output(vtbl, "%s\tLink encap:Local Loopback\n", dev->d_ifname);
|
||||
nsh_output(vtbl, "%s\tLink encap:Local Loopback", dev->d_ifname);
|
||||
break;
|
||||
# endif
|
||||
|
||||
|
|
@ -550,7 +550,7 @@ static int ifconfig_callback(FAR struct net_driver_s *dev, void *arg)
|
|||
dev->d_ifname, ether_ntoa(&dev->d_mac), status);
|
||||
|
||||
#elif defined(CONFIG_NET_LOOPBACK)
|
||||
nsh_output(vtbl, "%s\tLink encap:Local Loopback\n", dev->d_ifname);
|
||||
nsh_output(vtbl, "%s\tLink encap:Local Loopback at %s\n", dev->d_ifname, status);
|
||||
|
||||
#elif defined(CONFIG_NET_SLIP)
|
||||
nsh_output(vtbl, "%s\tLink encap:SLIP at %s\n", dev->d_ifname, status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue