mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
A set of various fixes and smaller API tweaks, plus tests.
Also moving PCAP-related bifs to iosource/pcap.bif.
This commit is contained in:
parent
ce9f16490c
commit
5f817513d0
34 changed files with 395 additions and 164 deletions
|
@ -14,7 +14,7 @@ namespace iosource {
|
|||
*/
|
||||
class IOSource {
|
||||
public:
|
||||
IOSource() { idle = closed = false; }
|
||||
IOSource() { idle = false; closed = false; }
|
||||
virtual ~IOSource() {}
|
||||
|
||||
// Returns true if source has nothing ready to process.
|
||||
|
@ -57,7 +57,6 @@ protected:
|
|||
// Derived classed are to set this to true if they have gone dry
|
||||
// temporarily.
|
||||
void SetIdle(bool is_idle) { idle = is_idle; }
|
||||
|
||||
|
||||
// Derived classed are to set this to true if they have gone dry
|
||||
// temporarily.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue