[lwip] update netstat: add list_udps.

This commit is contained in:
aozima 2018-05-22 23:58:16 +08:00
parent 6daf88d7a4
commit e5f6996507
1 changed files with 2 additions and 0 deletions

View File

@ -385,8 +385,10 @@ FINSH_FUNCTION_EXPORT_ALIAS(cmd_dns, __cmd_dns, list the information of dns);
int cmd_netstat(int argc, char **argv)
{
extern void list_tcps(void);
extern void list_udps(void);
list_tcps();
list_udps();
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(cmd_netstat, __cmd_netstat, list the information of TCP / IP);