summaryrefslogtreecommitdiff
path: root/epan/follow.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2009-12-13 08:11:31 +0000
committerSake Blok <sake@euronet.nl>2009-12-13 08:11:31 +0000
commit364fc7176a54b5fa1faec7c261f57e906ec8f0e7 (patch)
tree7d9452a54b361603863d56e873297c72b6721e30 /epan/follow.c
parent1580d332f4fb4d218cb0fb1f6e8a306a302da7a4 (diff)
downloadwireshark-364fc7176a54b5fa1faec7c261f57e906ec8f0e7.tar.gz
Remove obsoleted test (test is obsoleted by svn 31252)
svn path=/trunk/; revision=31253
Diffstat (limited to 'epan/follow.c')
-rw-r--r--epan/follow.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/epan/follow.c b/epan/follow.c
index be0817603d..437f24fa17 100644
--- a/epan/follow.c
+++ b/epan/follow.c
@@ -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