diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 8875045..737b348 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -21,7 +21,7 @@ #include "rulescan.h" #include "UniversalBoolMatch.h" -int MAAT_FRAME_VERSION_1_2_20150724=1; +int MAAT_FRAME_VERSION_1_2_20151019 const char *maat_module="MAAT Frame"; const char* CHARSET_STRING[]={"CHARSET_NONE","GBK","BIG5","UNICODE","UTF-8"}; @@ -2592,6 +2592,10 @@ int Maat_table_callback_register(Maat_feather_t feather,short table_id, { return -1; } + if(p_table->table_type!=TABLE_TYPE_PLUGIN) + { + return -1; + } idx=p_table->cb_info->cb_plug_cnt; if(idx==MAX_PLUGING_NUM) {