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:
Arne Welzel 2024-11-12 10:07:01 +01:00
parent ffa1fafa03
commit fcab5fd6cf

View file

@ -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(&current_packet) ) {