summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authoraozima <[email protected]>2018-05-22 23:58:16 +0800
committeraozima <[email protected]>2018-05-25 22:30:14 +0800
commite5f69965071fdac093452b0e075612cde6cd6124 (patch)
tree9f326eef0eab5654d02f3213d8894d4f7654cdb3 /components
parent6daf88d7a485ca1ce96eb5d128d21cc1d4ba4f1e (diff)
[lwip] update netstat: add list_udps.
Diffstat (limited to 'components')
-rw-r--r--components/finsh/msh_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/finsh/msh_cmd.c b/components/finsh/msh_cmd.c
index 7e9fd68a5f..71dca15976 100644
--- a/components/finsh/msh_cmd.c
+++ b/components/finsh/msh_cmd.c
@@ -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);