summaryrefslogtreecommitdiff
path: root/src/maat_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/maat_api.c')
-rw-r--r--src/maat_api.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/maat_api.c b/src/maat_api.c
index 933a7bb..703914e 100644
--- a/src/maat_api.c
+++ b/src/maat_api.c
@@ -1043,7 +1043,7 @@ static int flag_scan(struct table_manager *tbl_mgr, int thread_id, long long fla
}
int group_hit_cnt = flag_runtime_scan((struct flag_runtime *)flag_rt, thread_id,
- flag, vtable_id, state);
+ flag, phy_table_id, vtable_id, state);
if (group_hit_cnt <= 0) {
return group_hit_cnt;
}
@@ -1073,7 +1073,8 @@ static int interval_scan(struct table_manager *tbl_mgr, int thread_id, long long
}
int group_hit_cnt = interval_runtime_scan((struct interval_runtime *)interval_rt,
- thread_id, integer, vtable_id, state);
+ thread_id, integer, phy_table_id,
+ vtable_id, state);
if (group_hit_cnt <= 0) {
return group_hit_cnt;
}
@@ -1099,8 +1100,8 @@ static int ipv4_scan(struct table_manager *tbl_mgr, int thread_id, uint32_t ip_a
}
int group_hit_cnt = ip_runtime_scan((struct ip_runtime *)ip_rt, thread_id, IPv4,
- (uint8_t *)&ip_addr, port, proto, vtable_id,
- state);
+ (uint8_t *)&ip_addr, port, proto, phy_table_id,
+ vtable_id, state);
if (group_hit_cnt <= 0) {
return group_hit_cnt;
}
@@ -1126,7 +1127,8 @@ static int ipv6_scan(struct table_manager *tbl_mgr, int thread_id,
}
int group_hit_cnt = ip_runtime_scan((struct ip_runtime *)ip_rt, thread_id, IPv6,
- ip_addr, port, proto, vtable_id, state);
+ ip_addr, port, proto, phy_table_id, vtable_id,
+ state);
if (group_hit_cnt <= 0) {
return group_hit_cnt;
}
@@ -1157,7 +1159,7 @@ static int string_scan(struct table_manager *tbl_mgr, int thread_id,
int group_hit_cnt = expr_runtime_scan((struct expr_runtime *)expr_rt,
thread_id, data, data_len,
- vtable_id, state);
+ phy_table_id, vtable_id, state);
if (group_hit_cnt <= 0) {
return group_hit_cnt;
}
@@ -1193,7 +1195,8 @@ static int expr_stream_scan(struct maat_stream *stream, const char *data,
int group_hit_cnt = expr_runtime_stream_scan((struct expr_runtime *)expr_rt,
stream->handle, data, data_len,
- stream->vtable_id, state);
+ stream->phy_table_id, stream->vtable_id,
+ state);
if (group_hit_cnt <= 0) {
return group_hit_cnt;
}