mirror of https://github.com/OISF/suricata
detect/port: fix grouping of ports w gaps
If a single port happens before a range port, the port groups created
were incorrect. Fix it to use smarter range check.
For example, given,
80:80 - SGH1
100:120 - SGH2
Range created should be
80:80 - SGH1
100:120 - SGH2
Bug 6881
(cherry picked from commit 7d937db5cb)
pull/11142/head
parent
e9d9db6c83
commit
528d1f1adf
Loading…
Reference in New Issue