aboutsummaryrefslogtreecommitdiffstats
path: root/epan/follow.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-05-11 22:49:03 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-05-12 05:20:45 +0000
commitd1d5caaf2516421ac5bc307baad96efae8505c68 (patch)
tree35052965f950d2a99fd0c50d29164b5c51ce2bbe /epan/follow.c
parent9554b2fc62ebf12c9738c6e003b4e9a9b5cc0e41 (diff)
Fix tshark -z follow,tcp stats regression when TCP stream index is > 0
With tshark stats are being configured before the file gets loaded and the number of TCP streams are computed Bug: 9541 Change-Id: I42c2891124f1781b05967d5f071ad40df2d6d9f5 Reviewed-on: https://code.wireshark.org/review/1598 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/follow.c')
-rw-r--r--epan/follow.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/follow.c b/epan/follow.c
index f16cf9ddfc..e220eb7025 100644
--- a/epan/follow.c
+++ b/epan/follow.c
@@ -219,10 +219,6 @@ follow_tcp_index(guint32 indx)
return FALSE;
}
- if (indx > get_tcp_stream_count()) {
- return FALSE;
- }
-
find_tcp_addr = TRUE;
tcp_stream_to_follow = indx;
memset(ip_address, 0, sizeof ip_address);