Remove obsoleted test (test is obsoleted by svn 31252)
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 13 Dec 2009 08:11:31 +0000 (08:11 +0000)
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 13 Dec 2009 08:11:31 +0000 (08:11 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31253 f5534014-38df-0310-8fa8-9805f1628bb7

epan/follow.c

index be0817603dda4de527f440a244db0342d436558e..437f24fa174284568a61586e5da242c4dc2004cd 100644 (file)
@@ -175,24 +175,8 @@ reassemble_tcp( guint32 tcp_stream, gulong sequence, gulong acknowledgement,
   else
     len = 16;
 
-  /* Now check if the packet is for this connection. */
   memcpy(srcx, net_src->data, len);
   memcpy(dstx, net_dst->data, len);
-  if (
-      ! (
-        memcmp(srcx, ip_address[0], len) == 0 &&
-        memcmp(dstx, ip_address[1], len) == 0 &&
-        srcport == port[0] &&
-        dstport == port[1]
-       ) &&
-      ! (
-        memcmp(srcx, ip_address[1], len) == 0 &&
-        memcmp(dstx, ip_address[0], len) == 0 &&
-        srcport == port[1] &&
-        dstport == port[0]
-       )
-     )
-    return;
 
   /* Check to see if we have seen this source IP and port before.
      (Yes, we have to check both source IP and port; the connection