mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Rename NetSessions to SessionManager
This also includes: - Deprecating the NetSessions name. - Renaming the zeek::sessions global to zeek::session_mgr and deprecating the old name. - Renaming Sessions.{h,cc} to SessionManager.{h,cc}.
This commit is contained in:
parent
f7e3556a67
commit
db1d753b35
42 changed files with 148 additions and 155 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include "zeek/ZeekString.h"
|
||||
#include "zeek/NetVar.h"
|
||||
#include "zeek/Sessions.h"
|
||||
#include "zeek/SessionManager.h"
|
||||
#include "zeek/Event.h"
|
||||
#include "zeek/RunState.h"
|
||||
|
||||
|
@ -346,7 +346,7 @@ bool DNS_Interpreter::ParseAnswer(detail::DNS_MsgInfo* msg,
|
|||
case detail::TYPE_DS:
|
||||
status = ParseRR_DS(msg, data, len, rdlength, msg_start);
|
||||
break;
|
||||
|
||||
|
||||
case detail::TYPE_BINDS:
|
||||
status = ParseRR_BINDS(msg, data, len, rdlength, msg_start);
|
||||
break;
|
||||
|
@ -354,7 +354,7 @@ bool DNS_Interpreter::ParseAnswer(detail::DNS_MsgInfo* msg,
|
|||
case detail::TYPE_SSHFP:
|
||||
status = ParseRR_SSHFP(msg, data, len, rdlength, msg_start);
|
||||
break;
|
||||
|
||||
|
||||
case detail::TYPE_LOC:
|
||||
status = ParseRR_LOC(msg, data, len, rdlength, msg_start);
|
||||
break;
|
||||
|
@ -2261,7 +2261,7 @@ void DNS_Analyzer::ExpireTimer(double t)
|
|||
if ( t - Conn()->LastTime() >= zeek::detail::dns_session_timeout - 1.0 || run_state::terminating )
|
||||
{
|
||||
Event(connection_timeout);
|
||||
sessions->Remove(Conn());
|
||||
session_mgr->Remove(Conn());
|
||||
}
|
||||
else
|
||||
ADD_ANALYZER_TIMER(&DNS_Analyzer::ExpireTimer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue