mirror of https://github.com/OISF/suricata
af-packet: use configured cluster-id when checking for fanout
When testing for fanout support a cluster-id of 1 was always being
used instead of the configured cluster-id. This limited fanout
support to only one Suricata instance.
Instead of hardcoding an ID of 1, use the configured cluster-id.
Also make cluster_id a uint16_t instead of an int in AFPThreadVars.
Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3419
(cherry picked from commit df0ed6fda4)
pull/6786/head
parent
033c4b6f44
commit
a2f79b110a
Loading…
Reference in New Issue