[OPTIMIZE]replace ipport plugin engine(ip_matcher -> ipport_matcher)

This commit is contained in:
刘文坛
2023-10-10 11:23:44 +00:00
parent 1d106cd4c2
commit 461d43c6b7
21 changed files with 393910 additions and 196717 deletions

View File

@@ -238,9 +238,9 @@ static int ip_table_set_line(struct maat *maat_inst, const char *table_name, enu
return 0;
}
int ip_type = 4;
int ip_type = IPV4;
if (type == IPv6) {
ip_type = 6;
ip_type = IPV6;
}
sprintf(table_line, "%lld\t%lld\t%d\t%s\t%s\t%s\t%s\t%u\t%u\t6\t%d",