From e5f69965071fdac093452b0e075612cde6cd6124 Mon Sep 17 00:00:00 2001 From: aozima Date: Tue, 22 May 2018 23:58:16 +0800 Subject: [PATCH] [lwip] update netstat: add list_udps. --- components/finsh/msh_cmd.c | 2 ++ 1 file changed, 2 insertions(+) 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);