mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
PktSrc: Remove first_timestamp condition check
The comment is stale and first_timestamp is only relevant/available in pseudo_realtime.
This commit is contained in:
parent
ffa1fafa03
commit
fcab5fd6cf
1 changed files with 2 additions and 3 deletions
|
@ -127,9 +127,8 @@ bool PktSrc::ExtractNextPacketInternal() {
|
|||
|
||||
have_packet = false;
|
||||
|
||||
// Don't return any packets if processing is suspended (except for the
|
||||
// very first packet which we need to set up times).
|
||||
if ( run_state::is_processing_suspended() && run_state::detail::first_timestamp )
|
||||
// Don't return any packets if processing is suspended.
|
||||
if ( run_state::is_processing_suspended() )
|
||||
return false;
|
||||
|
||||
if ( ExtractNextPacket(¤t_packet) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue