Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport: Fix the custom BPF filter option (#2671) #2677

Merged
merged 1 commit into from
Oct 4, 2016

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Oct 4, 2016

Backport of #2671. Original message:

  • Fix the custom BPF filter option

Set the sniffer.filter before setFromConfig is called. Changed the
factory prototype so it doesn't pass around filter and instead just
done it directly via Init.

Fixes #2660.

  • Simplified code by removing the factory maker

* Fix the custom BPF filter option

Set the `sniffer.filter` before `setFromConfig` is called. Changed the
factory prototype so it doesn't pass around `filter` and instead just
done it directly via Init.

Fixes elastic#2660.

* Simplified code by removing the factory maker
@monicasarbu monicasarbu merged commit a6344ef into elastic:5.0 Oct 4, 2016
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
* Fix the custom BPF filter option

Set the `sniffer.filter` before `setFromConfig` is called. Changed the
factory prototype so it doesn't pass around `filter` and instead just
done it directly via Init.

Fixes elastic#2660.

* Simplified code by removing the factory maker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants