Skip to content

Commit

Permalink
Fix TCP Flow Reset check. (#8264)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoMaio committed May 10, 2024
1 parent fb2bb02 commit 42aef68
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/flow_checks/TCPFlowReset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,8 @@
/* ***************************************************** */

void TCPFlowReset::checkFlowReset(Flow *f) {
MinorConnectionStates current_state = f->getCurrentConnectionState();
if ((f->isTCP()) &&
((current_state == RSTR) ||
(current_state == RSTO) ||
(current_state == REJ) ||
(current_state == RSTOS0) ||
(current_state == RSTRH))) {


if ((f->isTCP()) && f->isTCPReset()) {
Host *cli_host = f->get_cli_host();
Host *srv_host = f->get_srv_host();

Expand Down

0 comments on commit 42aef68

Please sign in to comment.