maat json在处理默认值时,未能清空valuedouble,导致对effective_rage拼写错误的兼容性问题。
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "stream_fuzzy_hash.h"
|
||||
#include "gram_index_engine.h"
|
||||
|
||||
int MAAT_FRAME_VERSION_2_0_20170911=1;
|
||||
int MAAT_FRAME_VERSION_2_0_20170913=1;
|
||||
|
||||
const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin",
|
||||
"unicode_ascii_esc","unicode_ascii_aligned","unicode_ncr_dec","unicode_ncr_hex","url_encode_gb2312","url_encode_utf8",""};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <string.h>
|
||||
#include <openssl/evp.h>
|
||||
|
||||
#define module_config_monitor (module_name_str("CONFIG_MONITOR"))
|
||||
#define module_config_monitor (module_name_str("MAAT_FILE_MONITOR"))
|
||||
|
||||
|
||||
#define CM_UPDATE_TYPE_ERR -1
|
||||
|
||||
@@ -193,6 +193,7 @@ int direct_write_rule(cJSON* json,MESA_htable_handle str2int,struct traslate_com
|
||||
{
|
||||
dummy.valuestring=(char*)cmd[i].default_string;
|
||||
dummy.valueint=cmd[i].default_int;
|
||||
dummy.valuedouble=cmd[i].default_int;
|
||||
dummy.type=cmd[i].json_type;
|
||||
|
||||
item=&dummy;
|
||||
|
||||
Reference in New Issue
Block a user