Wireshark mailing list archives
r37588 always set capture filter
From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Fri, 17 Jun 2011 20:03:10 +0200
Hi,
After this commit if no filter is set we always end up with BPF code like:
(000) ret #65535
Which seems to be *NOT OPTIMIZED* nor by libpcap nor by kernel.
Can we have some #ifdef WINCAPs if it's really needed for winpcap?
Or at least:
(interface_opts.cfilter || !is_remote_capturing) ? interface_opts.cfilter : "")
Regards,
Jakub.
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- r37588 always set capture filter Jakub Zawadzki (Jun 17)
