Skip to content

userguide: fix explanation about bsize ranges - v2#10250

Closed
jufajardini wants to merge 1 commit intoOISF:masterfrom
jufajardini:doc-6708/v2
Closed

userguide: fix explanation about bsize ranges - v2#10250
jufajardini wants to merge 1 commit intoOISF:masterfrom
jufajardini:doc-6708/v2

Conversation

@jufajardini
Copy link
Contributor

Our code handles Uint ranges as exclusive, but for bsize, our documentation stated that they're inclusive.

Cf. from uint.rs:

DetectUintMode::DetectUintModeRange => {
    if val > x.arg1 && val < x.arg2 {
        return true;
    }
}

Task #6708

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6708

Previous PR: #10235

Describe changes:

  • Rebased, new PR to get green CI runs

Our code handles Uint ranges as exclusive, but for bsize, our
documentation stated that they're inclusive.

Cf. from uint.rs:

    DetectUintMode::DetectUintModeRange => {
        if val > x.arg1 && val < x.arg2 {
            return true;
        }
    }

Task OISF#6708
@jufajardini jufajardini added the typo/doc update No code change : only doc or typo fixes label Jan 25, 2024
@victorjulien victorjulien added this to the 8.0 milestone Jan 30, 2024
@victorjulien
Copy link
Member

Merged in #10277, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typo/doc update No code change : only doc or typo fixes

Development

Successfully merging this pull request may close these issues.

2 participants