Project

General

Profile

Actions

Optimization #3832

open

Make core::* as enum to improve readability

Added by Shivani Bhardwaj about 1 year ago. Updated 10 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

Actions #1

Updated by Shivani Bhardwaj 12 months ago

  • Status changed from Assigned to In Review
Actions #2

Updated by Victor Julien 10 months ago

  • Target version set to 7.0rc1
Actions

Also available in: Atom PDF