修复udp_client指令bug

This commit is contained in:
hqm 2021-09-29 22:38:12 +08:00
parent 0748b39c6c
commit de7c65b941
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ static void xcmd_udp_client(int argc ,char**argv)
} }
close(udp); close(udp);
} }
else
{
xcmd_print("Usage: udp_client ip port msg");
}
} }
void xcmd_udp_service(int argc, char** argv) void xcmd_udp_service(int argc, char** argv)