Skip to content

Commit

Permalink
[Packetbeat] Fix BPF filter setting not being applied to sniffers (#3…
Browse files Browse the repository at this point in the history
…5484)

- Ensure that the BPF filter setting is applied to sniffers

(cherry picked from commit fb25982)
  • Loading branch information
taylor-swanson authored and mergify[bot] committed May 17, 2023
1 parent e69438b commit da5b939
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ 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 double channel close panic when reloading. {pull}35324[35324]
- Fix BPF filter setting not being applied to sniffers. {issue}35363[35363] {pull}35484[35484]

*Winlogbeat*

Expand Down
1 change: 1 addition & 0 deletions packetbeat/sniffer/sniffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit da5b939

Please sign in to comment.