mirror of https://github.com/OISF/suricata
af-packet: fetch mtu info once
With the current layout and fn calls, it was seen that once in the beginning after the MTU was found and displayed to the user, when the threads spawned, each thread displayed MTU info as a part of AFPPeersListAdd fn. This happened in AF_PACKET IPS mode and led to excessive MTU logs. Save this info in the LiveDevice struct and avoid calling the unneeded fns later on. Bug 5831pull/9492/head
parent
572f8a3da6
commit
2fa0fac289
Loading…
Reference in New Issue