mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Renaming the Logger to Reporter.
Also changing output to not include timestamps when we haven't started processing packets yet.
This commit is contained in:
parent
93894eed9b
commit
66e2c3b623
123 changed files with 722 additions and 713 deletions
|
@ -263,7 +263,7 @@ int RPC_Interpreter::DeliverRPC(const u_char* buf, int n, int rpclen,
|
|||
}
|
||||
|
||||
else if ( n < 0 )
|
||||
bro_logger->InternalError("RPC underflow");
|
||||
reporter->InternalError("RPC underflow");
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@ -473,7 +473,7 @@ bool Contents_RPC::CheckResync(int& len, const u_char*& data, bool orig)
|
|||
|
||||
if ( resync_toskip != 0 )
|
||||
// Should never happen.
|
||||
bro_logger->InternalError("RPC resync: skipping over data failed");
|
||||
reporter->InternalError("RPC resync: skipping over data failed");
|
||||
|
||||
// Now lets see whether data points to the beginning of a RPC
|
||||
// frame. If the resync processs is successful, we should be
|
||||
|
@ -623,7 +623,7 @@ void Contents_RPC::DeliverStream(int len, const u_char* data, bool orig)
|
|||
marker_buf.Init(4,4);
|
||||
|
||||
if ( ! dummy_p )
|
||||
bro_logger->InternalError("inconsistent RPC record marker extraction");
|
||||
reporter->InternalError("inconsistent RPC record marker extraction");
|
||||
|
||||
last_frag = (marker & 0x80000000) != 0;
|
||||
marker &= 0x7fffffff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue