void pcre_setup(SnortConfig* sc)
{
- for ( int i = 0; i < get_instance_max(); ++i )
+ for ( unsigned i = 0; i < get_instance_max(); ++i )
{
SnortState* ss = sc->state + i;
ss->pcre_ovector = (int *) SnortAlloc(s_ovector_max*sizeof(int));
void pcre_cleanup(SnortConfig* sc)
{
- for ( int i = 0; i < get_instance_max(); ++i )
+ for ( unsigned i = 0; i < get_instance_max(); ++i )
{
SnortState* ss = sc->state + i;
THREAD_LOCAL ProfileStats bindPerfStats;
// FIXIT-P these lookups should be optimized when the dust settles
-#define INS_WIZ "wizard"
-#define INS_STR "stream_"
#define INS_IP "stream_ip"
#define INS_ICMP "stream_icmp"
#define INS_TCP "stream_tcp"
#define INS_UDP "stream_udp"
-#define INS_NORM "normalizer"
//-------------------------------------------------------------------------
// binding