Remove the unused flow flags - FLOW_TS_PM_PP_ALPROTO_DETECT_DONE and

FLOW_TC_PM_PP_ALPROTO_DETECT_DONE.
pull/567/head
Anoop Saldanha 12 years ago
parent 36220b689b
commit 558f5705eb

@ -78,14 +78,10 @@
#define FLOW_TS_PM_ALPROTO_DETECT_DONE 0x00020000 #define FLOW_TS_PM_ALPROTO_DETECT_DONE 0x00020000
/** Probing parser alproto detection done */ /** Probing parser alproto detection done */
#define FLOW_TS_PP_ALPROTO_DETECT_DONE 0x00040000 #define FLOW_TS_PP_ALPROTO_DETECT_DONE 0x00040000
/** Both pattern matcher and probing parser alproto detection done */
#define FLOW_TS_PM_PP_ALPROTO_DETECT_DONE 0x00080000
/** Pattern matcher alproto detection done */ /** Pattern matcher alproto detection done */
#define FLOW_TC_PM_ALPROTO_DETECT_DONE 0x00100000 #define FLOW_TC_PM_ALPROTO_DETECT_DONE 0x00100000
/** Probing parser alproto detection done */ /** Probing parser alproto detection done */
#define FLOW_TC_PP_ALPROTO_DETECT_DONE 0x00200000 #define FLOW_TC_PP_ALPROTO_DETECT_DONE 0x00200000
/** Both pattern matcher and probing parser alproto detection done */
#define FLOW_TC_PM_PP_ALPROTO_DETECT_DONE 0x00400000
#define FLOW_TIMEOUT_REASSEMBLY_DONE 0x00800000 #define FLOW_TIMEOUT_REASSEMBLY_DONE 0x00800000
/** even if the flow has files, don't store 'm */ /** even if the flow has files, don't store 'm */
#define FLOW_FILE_NO_STORE_TS 0x01000000 #define FLOW_FILE_NO_STORE_TS 0x01000000

@ -4287,8 +4287,6 @@ int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt,
~FLOW_TS_PP_ALPROTO_DETECT_DONE & ~FLOW_TS_PP_ALPROTO_DETECT_DONE &
~FLOW_TC_PM_ALPROTO_DETECT_DONE & ~FLOW_TC_PM_ALPROTO_DETECT_DONE &
~FLOW_TC_PP_ALPROTO_DETECT_DONE); ~FLOW_TC_PP_ALPROTO_DETECT_DONE);
p->flow->flags &= ~FLOW_TS_PM_PP_ALPROTO_DETECT_DONE;
p->flow->flags &= ~FLOW_TS_PM_PP_ALPROTO_DETECT_DONE;
if (StreamTcpPacketStateNone(tv,p,stt,ssn, &stt->pseudo_queue)) { if (StreamTcpPacketStateNone(tv,p,stt,ssn, &stt->pseudo_queue)) {
goto error; goto error;

Loading…
Cancel
Save