命中no intercept,不发送log

This commit is contained in:
wangmenglan
2023-06-09 18:24:38 +08:00
parent 2741eb117a
commit 9e75c71d94

View File

@@ -1236,7 +1236,6 @@ static int handle_session_opening(struct metadata *meta, struct ctrl_pkt_parser
tfe_cmsg_get_value(parser->cmsg, TFE_CMSG_HIT_NO_INTERCEPT, (unsigned char *)&hit_no_intercept, sizeof(hit_no_intercept), &out_size); tfe_cmsg_get_value(parser->cmsg, TFE_CMSG_HIT_NO_INTERCEPT, (unsigned char *)&hit_no_intercept, sizeof(hit_no_intercept), &out_size);
if (hit_no_intercept == 1) { if (hit_no_intercept == 1) {
is_passthrough = 1; is_passthrough = 1;
set_passthrough_reason(parser->cmsg, reason_hit_no_intercept);
goto passthrough; goto passthrough;
} }