diff --git a/src/app-layer.c b/src/app-layer.c index cfa4761568..50223ed049 100644 --- a/src/app-layer.c +++ b/src/app-layer.c @@ -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, diff --git a/src/flow-util.c b/src/flow-util.c index 8215e20f61..d0a45013d4 100644 --- a/src/flow-util.c +++ b/src/flow-util.c @@ -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); diff --git a/src/flow.h b/src/flow.h index 25fe520526..ccd39b7f60 100644 --- a/src/flow.h +++ b/src/flow.h @@ -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