From de7c65b94190a47918f65776a5c4e476379b7a19 Mon Sep 17 00:00:00 2001 From: hqm <13720409820@163.com> Date: Wed, 29 Sep 2021 22:38:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dudp=5Fclient=E6=8C=87?= =?UTF-8?q?=E4=BB=A4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/net_cmds/socket_cmds.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/net_cmds/socket_cmds.c b/extensions/net_cmds/socket_cmds.c index b59514f..2991e1d 100644 --- a/extensions/net_cmds/socket_cmds.c +++ b/extensions/net_cmds/socket_cmds.c @@ -40,6 +40,10 @@ static void xcmd_udp_client(int argc ,char**argv) } close(udp); } + else + { + xcmd_print("Usage: udp_client ip port msg"); + } } void xcmd_udp_service(int argc, char** argv)