Browse Source

[lwip] update netstat: add list_udps.

aozima 7 years ago
parent
commit
e5f6996507
1 changed files with 2 additions and 0 deletions
  1. 2 0
      components/finsh/msh_cmd.c

+ 2 - 0
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);