OCT 1. 修正高版本编译器报错问题
This commit is contained in:
parent
309c42347f
commit
551323c1a5
|
@ -23,6 +23,8 @@
|
|||
***************************************************************************/
|
||||
//This file defines all structures and constants
|
||||
//for both DHCP and DNS Servers
|
||||
#include <string>
|
||||
|
||||
#define MAX_SERVERS 125
|
||||
#define MAX_DHCP_RANGES 125
|
||||
#define MAX_DNS_RANGES 32
|
||||
|
|
|
@ -52,7 +52,9 @@ static void lwip_init_env() {
|
|||
|
||||
cJSON *create_app_process_status(int isStart) {
|
||||
cJSON *pRspMsg = cJSON_CreateObject();
|
||||
#ifdef USED_USER_VNI
|
||||
cJSON_AddNumberToObject(pRspMsg, "vni", cfg_get_user_vni_id());
|
||||
#endif
|
||||
cJSON_AddStringToObject(pRspMsg, "process", isStart ? "setup" : "exit");
|
||||
return pRspMsg;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue