]> git.ipfire.org Git - thirdparty/suricata.git/commit
source-pcap-file: honor bpf filter on command line
authorEric Leblond <eric@regit.org>
Tue, 19 Nov 2019 16:21:10 +0000 (17:21 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 25 Nov 2019 18:49:19 +0000 (19:49 +0100)
commit54d362066211c2db0efdbd1daaade7c3f214b5f0
treed7233e46e7cde73b578ead8f4ff7416e074b126c
parent860f43753c720204058f5c322e4fe26673267475
source-pcap-file: honor bpf filter on command line

When a BPF filter is given on the command line when reading a
pcap file, the BPF filter is not honored.

The regression has been introduced in:

commit 3ab9120821e2b5cbc5925470bcfa5bcfb53f246b
Author: Dana Helwig <dana.helwig@protectwise.com>
Date:   Thu Apr 27 11:17:16 2017 -0600

    source-pcap-file: Pcap Directory Mode (Feature #2222)

Reported-By: Tim Colin <tcolin@et.esiea.fr>
src/source-pcap-file.c