diff --git a/src/stream-tcp.c b/src/stream-tcp.c index 1ce7ffe6bd..20bac5e94e 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -116,6 +116,7 @@ static SCMutex ssn_pool_mutex = SCMUTEX_INITIALIZER; /**< init only, protect ini static uint64_t ssn_pool_cnt = 0; /** counts ssns, protected by ssn_pool_mutex */ #endif +TcpStreamCnf stream_config; uint64_t StreamTcpReassembleMemuseGlobalCounter(void); SC_ATOMIC_DECLARE(uint64_t, st_memuse); diff --git a/src/stream-tcp.h b/src/stream-tcp.h index c1566bf407..b7acaafcff 100644 --- a/src/stream-tcp.h +++ b/src/stream-tcp.h @@ -103,7 +103,7 @@ typedef struct StreamTcpThread_ { TcpReassemblyThreadCtx *ra_ctx; } StreamTcpThread; -TcpStreamCnf stream_config; +extern TcpStreamCnf stream_config; void StreamTcpInitConfig (char); void StreamTcpFreeConfig(char); void StreamTcpRegisterTests (void);