flow: fix typo in function name

FlowForceReassemblyNeedReassmbly -> FlowForceReassemblyNeedReassembly
pull/692/head
Victor Julien 12 years ago
parent 3b3dce8328
commit 85b1a8ff26

@ -229,7 +229,7 @@ static int FlowManagerFlowTimedOut(Flow *f, struct timeval *ts) {
int server = 0, client = 0;
if (!(f->flags & FLOW_TIMEOUT_REASSEMBLY_DONE) &&
FlowForceReassemblyNeedReassmbly(f, &server, &client) == 1) {
FlowForceReassemblyNeedReassembly(f, &server, &client) == 1) {
FlowForceReassemblyForFlowV2(f, server, client);
return 0;
}

@ -280,7 +280,7 @@ static inline Packet *FlowForceReassemblyPseudoPacketGet(int direction,
}
/**
* \brief Check if a flow needs forced reassembly
* \brief Check if a flow needs forced reassembly, or any other processing
*
* \param f *LOCKED* flow
* \param server ptr to int that should be set to 1 or 2 if we return 1
@ -289,7 +289,7 @@ static inline Packet *FlowForceReassemblyPseudoPacketGet(int direction,
* \retval 0 no
* \retval 1 yes
*/
int FlowForceReassemblyNeedReassmbly(Flow *f, int *server, int *client) {
int FlowForceReassemblyNeedReassembly(Flow *f, int *server, int *client) {
TcpSession *ssn;
if (f == NULL) {
@ -545,7 +545,7 @@ static inline void FlowForceReassemblyForHash(void)
continue;
}
(void)FlowForceReassemblyNeedReassmbly(f, &server_ok, &client_ok);
(void)FlowForceReassemblyNeedReassembly(f, &server_ok, &client_ok);
/* ah ah! We have some unattended toserver segments */
if (client_ok == STREAM_HAS_UNPROCESSED_SEGMENTS_NEED_REASSEMBLY) {

@ -25,7 +25,7 @@
#define __FLOW_TIMEOUT_H__
int FlowForceReassemblyForFlowV2(Flow *f, int server, int client);
int FlowForceReassemblyNeedReassmbly(Flow *f, int *server, int *client);
int FlowForceReassemblyNeedReassembly(Flow *f, int *server, int *client);
void FlowForceReassembly(void);
void FlowForceReassemblySetup(void);

Loading…
Cancel
Save