From: davis mcpherson Date: Mon, 18 Apr 2016 18:52:06 +0000 (-0400) Subject: reset paf when we cleanup a session and reset the splitters X-Git-Tag: 3.0.0-233~444^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40f7c198fc3b40a8e2fa85561d8de244b74be9fb;p=thirdparty%2Fsnort3.git reset paf when we cleanup a session and reset the splitters --- diff --git a/src/stream/tcp/tcp_session.cc b/src/stream/tcp/tcp_session.cc index b94a1f615..c1bd940f0 100644 --- a/src/stream/tcp/tcp_session.cc +++ b/src/stream/tcp/tcp_session.cc @@ -221,7 +221,8 @@ void TcpSession::clear_session(int freeApplicationData) { flow->restart(true); - // FIXIT - do we need to reset PAF here too? + paf_reset(&client->paf_state); + paf_reset(&server->paf_state); client->reset_splitter(); server->reset_splitter(); }