Project

General

Profile

Optimization #3832

Make core::* as enum to improve readability

Added by Shivani Bhardwaj 11 months ago. Updated 8 months ago.

Status:
In Review
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

core::STREAM_TOSERVER and core::STREAM_TOCLIENT could be an enum so we can avoid the use of _ in match statements and instead just always explicitly use both directions.

- Victor on https://github.com/OISF/suricata/pull/5100#commitcomment-40185751

#1

Updated by Shivani Bhardwaj 9 months ago

  • Status changed from Assigned to In Review
#2

Updated by Victor Julien 8 months ago

  • Target version set to 7.0rc1

Also available in: Atom PDF