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-requ...@wireshark.org?subject=unsubscribe

Reply via email to