Removed FLOW_AL_PROTO_UNKNOWN. We don't need this flag

remotes/origin/master-1.1.x
Anoop Saldanha 15 years ago committed by Victor Julien
parent 38fe2b9070
commit 49e2b580cb

@ -506,7 +506,6 @@ int AppLayerHandleUdp(AlpProtoDetectThreadCtx *dp_ctx, Flow *f, Packet *p)
/* store the proto and setup the L7 data array */
FlowL7DataPtrInit(f);
f->alproto = alproto;
f->alflags &= ~FLOW_AL_PROTO_UNKNOWN;
f->alflags |= FLOW_AL_PROTO_DETECT_DONE;
r = AppLayerParse(f, alproto, f->alflags,

@ -66,7 +66,6 @@ Flow *FlowAlloc(void)
f->alproto = 0;
f->aldata = NULL;
f->alflags = FLOW_AL_PROTO_UNKNOWN;
return f;
}
@ -152,7 +151,6 @@ void FlowInit(Flow *f, Packet *p)
printf("FIXME: %s:%s:%" PRId32 "\n", __FILE__, __FUNCTION__, __LINE__);
}
f->alflags = FLOW_AL_PROTO_UNKNOWN;
FlowL7DataPtrInit(f);
COPY_TIMESTAMP(&p->ts, &f->startts);

@ -213,7 +213,6 @@ typedef struct Flow_
} Flow;
/** Flow Application Level flags */
#define FLOW_AL_PROTO_UNKNOWN 0x01
#define FLOW_AL_PROTO_DETECT_DONE 0x02
#define FLOW_AL_NO_APPLAYER_INSPECTION 0x04 /** \todo move to flow flags later */
#define FLOW_AL_STREAM_TOSERVER 0x20

Loading…
Cancel
Save