diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 57214c76e22e..007b6fe717f8 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -195,6 +195,7 @@ automatic splitting at root level, if root level element is an array. {pull}3415 *Packetbeat* - Fix documentation for `flows.period` related to flow reporting. {pull}35009[35009] +- Fix BPF filter setting not being applied to sniffers. {issue}35363[35363] {pull}35484[35484] *Winlogbeat* diff --git a/packetbeat/sniffer/sniffer.go b/packetbeat/sniffer/sniffer.go index efb12d045a0e..edc6fcf5177f 100644 --- a/packetbeat/sniffer/sniffer.go +++ b/packetbeat/sniffer/sniffer.go @@ -141,6 +141,7 @@ func New(testMode bool, _ string, decoders Decoders, interfaces []config.Interfa } child.config = iface + child.filter = iface.BpfFilter s.sniffers[i] = child }