]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flow: fix typo in function name
authorVictor Julien <victor@inliniac.net>
Tue, 3 Dec 2013 13:36:25 +0000 (14:36 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 9 Dec 2013 14:09:07 +0000 (15:09 +0100)
FlowForceReassemblyNeedReassmbly -> FlowForceReassemblyNeedReassembly

src/flow-manager.c
src/flow-timeout.c
src/flow-timeout.h

index f158fda85c44a388b7b6a9b6997f0a565b71f7d7..17a2b280a657c5f1ff7550b62977e7dee8dacb71 100644 (file)
@@ -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;
     }
index ac9d5f2d174605e9bb6240377d916e8c4f87c79d..4939736cc6738ed5f2351d1bcc98e0619aa7d43e 100644 (file)
@@ -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) {
index c36a4fecf392329c481767ce4a1f93ff86117bea..0345c7ebd07eb9b473aa510c4ddf86edb7ec8456 100644 (file)
@@ -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);