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.

(cherry picked from commit b128a75)
  • Loading branch information
regit authored and jlucovsky committed Jun 20, 2024
1 parent c8579ff commit f9c7d55
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 @@ -1470,7 +1470,6 @@ int SCProfileRuleStart(Packet *p)
p->flags |= PKT_PROFILE;
return 1;
}

return 0;
}

Expand Down

0 comments on commit f9c7d55

Please sign in to comment.