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/3419pull/6424/head
parent
3a230c2208
commit
df0ed6fda4
Loading…
Reference in New Issue