修复了修改服务器ip和端口无提示信息的bug
This commit is contained in:
+2
-2
@@ -999,11 +999,11 @@ static void DebugCmdSetSvr(int argc, char *argv[])
|
|||||||
int IP[4];
|
int IP[4];
|
||||||
int port;
|
int port;
|
||||||
|
|
||||||
if(argc < 3)
|
if(argc < 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(strcmp(argv[1], "?") == 0) {
|
if(strcmp(argv[1], "?") == 0) {
|
||||||
DBG_LOG("Debug Cmd: arg1 arg2 arg3\r\n");
|
DBG_LOG("Debug Cmd: svr arg1 arg2 arg3\r\n");
|
||||||
DBG_LOG(" brief --> Set the server IP address and port for 4G communication.\r\n");
|
DBG_LOG(" brief --> Set the server IP address and port for 4G communication.\r\n");
|
||||||
DBG_LOG(" arg1 --> password\r\n");
|
DBG_LOG(" arg1 --> password\r\n");
|
||||||
DBG_LOG(" arg2 --> (xx.xx.xx.xx) ip\r\n");
|
DBG_LOG(" arg2 --> (xx.xx.xx.xx) ip\r\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user