diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 63961fe..6d54746 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -34,7 +34,7 @@ #include "stream_fuzzy_hash.h" #include "gram_index_engine.h" -int MAAT_FRAME_VERSION_3_0_20200819=1; +int MAAT_FRAME_VERSION_3_0_20200822=1; int is_valid_table_name(const char* str) { diff --git a/src/entry/Maat_table.cpp b/src/entry/Maat_table.cpp index 6330510..2994445 100644 --- a/src/entry/Maat_table.cpp +++ b/src/entry/Maat_table.cpp @@ -492,7 +492,9 @@ struct Maat_table_manager* Maat_table_manager_create(const char* table_info_path map_register(string2int_map,"plugin", TABLE_TYPE_PLUGIN); map_register(string2int_map,"ip_plugin", TABLE_TYPE_IP_PLUGIN); map_register(string2int_map,"intval", TABLE_TYPE_INTERVAL); + map_register(string2int_map,"interval", TABLE_TYPE_INTERVAL); map_register(string2int_map,"intval_plus", TABLE_TYPE_INTERVAL_PLUS); + map_register(string2int_map,"interval_plus", TABLE_TYPE_INTERVAL_PLUS); map_register(string2int_map,"digest", TABLE_TYPE_DIGEST); map_register(string2int_map,"expr_plus", TABLE_TYPE_EXPR_PLUS); map_register(string2int_map,"group", TABLE_TYPE_GROUP); diff --git a/src/entry/json2iris.cpp b/src/entry/json2iris.cpp index 160c42c..69eba2b 100644 --- a/src/entry/json2iris.cpp +++ b/src/entry/json2iris.cpp @@ -164,7 +164,9 @@ int set_iris_descriptor(const char* json_file,cJSON *json, const char* encrypt_k map_register(iris_cfg->str2int_map, "expr",TABLE_TYPE_EXPR); map_register(iris_cfg->str2int_map, "expr_plus",TABLE_TYPE_EXPR_PLUS); map_register(iris_cfg->str2int_map, "intval",TABLE_TYPE_INTERVAL); + map_register(iris_cfg->str2int_map, "interval",TABLE_TYPE_INTERVAL); map_register(iris_cfg->str2int_map, "intval_plus",TABLE_TYPE_INTERVAL_PLUS); + map_register(iris_cfg->str2int_map, "interval_plus",TABLE_TYPE_INTERVAL_PLUS); map_register(iris_cfg->str2int_map, "digest",TABLE_TYPE_DIGEST); map_register(iris_cfg->str2int_map, "similar",TABLE_TYPE_SIMILARITY);