mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
IOSource: Remove IsPacketSource
This wasn't used in tree and even the PktSrc class doesn't override this to return true, so just remove it outright without deprecation. Closes #4573
This commit is contained in:
parent
f4357485d2
commit
2bc320cf11
2 changed files with 3 additions and 5 deletions
3
NEWS
3
NEWS
|
@ -48,6 +48,9 @@ Breaking Changes
|
||||||
|
|
||||||
redef EventMetadata::add_missing_remote_network_timestamp = T;
|
redef EventMetadata::add_missing_remote_network_timestamp = T;
|
||||||
|
|
||||||
|
- The ``IsPacketSource()`` method on ``IOSource`` was removed. It was unused
|
||||||
|
and incorrectly returned ``false`` on all packet sources.
|
||||||
|
|
||||||
New Functionality
|
New Functionality
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
|
@ -32,11 +32,6 @@ public:
|
||||||
*/
|
*/
|
||||||
bool IsOpen() const { return ! closed; }
|
bool IsOpen() const { return ! closed; }
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true if this is a packet source.
|
|
||||||
*/
|
|
||||||
virtual bool IsPacketSource() const { return false; }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the source. Can be overwritten by derived classes.
|
* Initializes the source. Can be overwritten by derived classes.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue