增加Command IP规则的测试用例

This commit is contained in:
zhengchao
2017-09-15 20:01:21 +08:00
parent 4e45283dfb
commit d8a07889ae
2 changed files with 113 additions and 10 deletions

View File

@@ -109,12 +109,13 @@ struct Maat_group_t
};
struct Maat_cmd_t
{
//This Struct MUST alloced by Maat_create_cmd(), then released by Maat_free_cmd().
struct Maat_rule_t compile; // for MAAT_OP_DEL, only compile.config_id is necessary.
int group_num; // for MAAT_OP_DEL, set to 0.
int expire_after; //expired after $expire_after$ seconds, set to 0 for never timeout.
int label_id; //>0, to be indexed and quried by Maat_cmd_select; =0 not index
struct Maat_group_t* groups;// Add regions with Maat_add_region2cmd
};
};
struct Maat_line_t
{
const char* table_name;