diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/nshlib/nsh_netcmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c index 7aec60994..cfea5a08a 100644 --- a/apps/nshlib/nsh_netcmds.c +++ b/apps/nshlib/nsh_netcmds.c @@ -487,9 +487,9 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) if (argc <= 2) { - netdev_foreach(ifconfig_callback, vtbl); - uip_statistics(vtbl); - return OK; + netdev_foreach(ifconfig_callback, vtbl); + uip_statistics(vtbl); + return OK; } /* If both the network interface name and an IP address are supplied as |