mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fix packet sources being treated as idle when a packet is available.
Addresses BIT-1266.
This commit is contained in:
parent
9cd85be308
commit
31b7e984d1
1 changed files with 1 additions and 0 deletions
|
@ -434,6 +434,7 @@ bool PktSrc::ExtractNextPacketInternal()
|
||||||
if ( ! first_timestamp )
|
if ( ! first_timestamp )
|
||||||
first_timestamp = current_packet.ts;
|
first_timestamp = current_packet.ts;
|
||||||
|
|
||||||
|
SetIdle(false);
|
||||||
have_packet = true;
|
have_packet = true;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue