Skip to content

Commit

Permalink
profiling: check packet flag first
Browse files Browse the repository at this point in the history
This fixes the state handling and simplify the logic.
  • Loading branch information
regit authored and victorjulien committed Jun 15, 2024
1 parent eecb344 commit b128a75
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/util-profiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,6 @@ int SCProfileRuleStart(Packet *p)
p->flags |= PKT_PROFILE;
return 1;
}

return 0;
}

Expand Down

0 comments on commit b128a75

Please sign in to comment.