mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Move TCPStateStats object out of session_mgr
This commit is contained in:
parent
9e1f6f95aa
commit
4114bbebf0
13 changed files with 199 additions and 186 deletions
|
@ -12,6 +12,7 @@
|
|||
#include "zeek/analyzer/protocol/pia/PIA.h"
|
||||
#include "zeek/analyzer/protocol/stepping-stone/SteppingStone.h"
|
||||
#include "zeek/analyzer/protocol/conn-size/ConnSize.h"
|
||||
#include "zeek/packet_analysis/protocol/tcp/TCP.h"
|
||||
|
||||
#include "zeek/analyzer/protocol/tcp/events.bif.h"
|
||||
#include "zeek/analyzer/protocol/tcp/types.bif.h"
|
||||
|
@ -536,7 +537,7 @@ void TCPSessionAdapter::FlipRoles()
|
|||
{
|
||||
Analyzer::FlipRoles();
|
||||
|
||||
session_mgr->tcp_stats.FlipState(orig->state, resp->state);
|
||||
TCPAnalyzer::GetStats().FlipState(orig->state, resp->state);
|
||||
analyzer::tcp::TCP_Endpoint* tmp_ep = resp;
|
||||
resp = orig;
|
||||
orig = tmp_ep;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue