MINOR: tevt/conn: Report intercepted event for L4 rules

When a L4 rules interrupts the processing, a termination event is reported
for the connection, with the "fd" location.
This commit is contained in:
Christopher Faulet 2024-12-23 14:39:58 +01:00
parent 00a07c8b54
commit 170d46989c

View File

@ -578,6 +578,8 @@ int tcp_exec_l4_rules(struct session *sess)
goto restart;
}
end:
if (!result)
conn_report_term_evt(conn, tevt_loc_fd, tevt_type_intercepted);
return result;
}