mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
When creating a new stream, we check now that all log field have
supported types. Also not reporting a run-time error anymore when logging to a stream that hasn't been created; just fail silently as this may happen due to other earlier errors.
This commit is contained in:
parent
5beee9e45e
commit
de227b8d88
2 changed files with 53 additions and 1 deletions
|
@ -54,6 +54,8 @@ struct LogVal {
|
|||
bool Read(SerializationFormat* fmt);
|
||||
bool Write(SerializationFormat* fmt) const;
|
||||
|
||||
static bool IsCompatibleType(BroType* t, bool atomic_only=false);
|
||||
|
||||
private:
|
||||
LogVal(const LogVal& other) { }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue