记住状态

This commit is contained in:
zogodo
2019-10-09 22:44:35 +08:00
parent 41c5da6817
commit 6fad6106d9
3 changed files with 9 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ static int HttpGetTc1Status(httpd_request_t *req)
{
const unsigned char* sockets = GetSocketStatus();
char* tc1_status = malloc(256);
sprintf(tc1_status, TC1_STATUS_JSON, sockets, (int)sys_config->micoSystemConfig.reserved,
sprintf(tc1_status, TC1_STATUS_JSON, sockets, ip_status.mode,
sys_config->micoSystemConfig.ssid, sys_config->micoSystemConfig.user_key,
ELAND_AP_SSID, ELAND_AP_KEY, ip_status.ip, ip_status.mask, ip_status.gateway);