WXK
2025-05-20 039f65a917fab431b629125b428fb1ede145ebbe
APL/Shell.c
@@ -441,10 +441,10 @@
    
    return HIDO_OK;
}
HIDO_UINT8 au8IP1[4];
static HIDO_INT32 Shell_SetServerInfo(HIDO_INT32 _i32Argc, HIDO_CHAR **_ppcArgv)
{
    HIDO_UINT8 au8IP[4];
//    HIDO_UINT8 au8IP[4];
    
    if(_i32Argc < 3)
    {
@@ -454,15 +454,15 @@
    }
    
    /* IP=192.168.1.1 */
    HIDO_UtilIPStringToByteArrary(_ppcArgv[1], au8IP);
    HIDO_UtilIPStringToByteArrary(_ppcArgv[1], au8IP1);
    /* IP变化 */
    if((au8IP[0] != g_com_map[IP_0]) || (au8IP[1] != g_com_map[IP_1])
            || (au8IP[2] != g_com_map[IP_2]) || (au8IP[3] != g_com_map[IP_3]))
    if((au8IP1[0] != g_com_map[IP_0]) || (au8IP1[1] != g_com_map[IP_1])
            || (au8IP1[2] != g_com_map[IP_2]) || (au8IP1[3] != g_com_map[IP_3]))
    {
        g_com_map[IP_0] = au8IP[0];
        g_com_map[IP_1] = au8IP[1];
        g_com_map[IP_2] = au8IP[2];
        g_com_map[IP_3] = au8IP[3];
        g_com_map[IP_0] = au8IP1[0];
        g_com_map[IP_1] = au8IP1[1];
        g_com_map[IP_2] = au8IP1[2];
        g_com_map[IP_3] = au8IP1[3];
    }
    /* 端口=0-65535 */