]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/port: handle single port that is range too 10608/head
authorShivani Bhardwaj <shivani@oisf.net>
Sat, 9 Mar 2024 04:21:57 +0000 (09:51 +0530)
committerVictor Julien <victor@inliniac.net>
Sat, 9 Mar 2024 13:12:11 +0000 (14:12 +0100)
commit632ca75dd3f49bee865f047cc5336870f3a431d2
tree76f98dbbaa7e162b1ad3f311bfc6f6869fe72c42
parent3aa313d0c5fdf33833508bc9b686f807188a5b9f
detect/port: handle single port that is range too

If a port point is single but later on also a part of a range, it ends
up only creating the port groups for single points and not the range.
Fix it by adding the port next to current single one to unique points
and marking it a range port.

Bug 6843
src/detect-engine-build.c