不再统计GROUP类配置的数量,以避免虚拟GROUP情况下将其累加入普通域配置表。

This commit is contained in:
zhengchao
2016-02-19 13:13:11 +08:00
parent ef53a9a33a
commit 99ac553d1d

View File

@@ -1620,7 +1620,8 @@ void update_group_rule(struct _Maat_table_info_t* table,const char* table_line,s
if(db_group_rule.is_valid==FALSE)
{
del_group_rule(table, &db_group_rule,scanner,logger);
table->cfg_num--;
//leave no trace for virtual group rule
// table->cfg_num--;
}
else
{
@@ -1636,7 +1637,7 @@ void update_group_rule(struct _Maat_table_info_t* table,const char* table_line,s
else
{
//no need to free db_group_rule,it was saved in scanner->compile_hash
table->cfg_num++;
// table->cfg_num++;
}
}