rename flow_direction to flow_type
This commit is contained in:
@@ -607,10 +607,10 @@ extern "C" void http_decoder_tunnel_entry(struct session *sess, int topic_id, co
|
||||
|
||||
case HTTP_TUNNEL_ACTIVE:
|
||||
{
|
||||
enum flow_direction curdir = session_get_current_flow_direction(sess);
|
||||
enum flow_type curdir = session_get_flow_type(sess);
|
||||
hstring tunnel_payload = {};
|
||||
http_tunnel_message_get_payload((const struct http_tunnel_message *)raw_msg, &tunnel_payload);
|
||||
if (FLOW_DIRECTION_C2S == curdir)
|
||||
if (FLOW_TYPE_C2S == curdir)
|
||||
{
|
||||
req_payload_block++;
|
||||
req_payload_size += tunnel_payload.iov_len;
|
||||
|
||||
Reference in New Issue
Block a user