From 9f4884a1323580f97f145fd69817e39714c0d9d4 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 19 Apr 2017 15:47:09 +0200 Subject: [PATCH] stream: reduce scope of new ssn func --- src/stream-tcp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/stream-tcp.c b/src/stream-tcp.c index 06e24936be..0db8f496e3 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -610,7 +610,8 @@ void StreamTcpFreeConfig(char quiet) SCLogDebug("ssn_pool_cnt %"PRIu64"", ssn_pool_cnt); } -/** \brief The function is used to to fetch a TCP session from the +/** \internal + * \brief The function is used to to fetch a TCP session from the * ssn_pool, when a TCP SYN is received. * * \param p packet starting the new TCP session. @@ -618,7 +619,7 @@ void StreamTcpFreeConfig(char quiet) * * \retval ssn new TCP session. */ -TcpSession *StreamTcpNewSession (Packet *p, int id) +static TcpSession *StreamTcpNewSession (Packet *p, int id) { TcpSession *ssn = (TcpSession *)p->flow->protoctx; -- 2.47.2