diff --git a/CHANGES b/CHANGES index 269a874488..ee6f5c37e1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ +3.3.0-dev.210 | 2020-08-27 15:34:14 -0700 + + * GH-158: Ensure packet-filter framework is loaded if -f option is passed (Tim Wojtulewicz, Corelight) + 3.3.0-dev.208 | 2020-08-27 11:12:22 -0700 * GH-1145: Fix a umask issue for processing-status file (Vlad Grigorescu) diff --git a/VERSION b/VERSION index ec98c9327c..4956978da6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.0-dev.208 +3.3.0-dev.210 diff --git a/src/zeek-setup.cc b/src/zeek-setup.cc index c0b2073dc1..32e6c8d448 100644 --- a/src/zeek-setup.cc +++ b/src/zeek-setup.cc @@ -566,6 +566,9 @@ SetupResult setup(int argc, char** argv, for ( const auto& script : options.scripts_to_load ) add_input_file(script.data()); + if ( options.pcap_filter ) + add_input_file("base/frameworks/packet-filter/main.zeek"); + push_scope(nullptr, nullptr); dns_mgr = new DNS_Mgr(dns_type);