aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-02-14 19:34:59 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-02-14 19:34:59 +0000
commit9378b4f6b4a4c97979b3aa8e7466641f21393e27 (patch)
treea44a660212b8f60b7e985d17559f9d3ed2ac817c /epan
parentcba5f271e61fcf6d9034ad2bf6702d941c5709e1 (diff)
in sack options only look for tcp session metadata if both tcp_analysis and tcp_relative preferences are set. relative depends on analysis
svn path=/trunk/; revision=13398
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c
index c64d74d691..dbcf989d1e 100644
--- a/epan/dissectors/packet-tcp.c
+++ b/epan/dissectors/packet-tcp.c
@@ -2256,7 +2256,7 @@ dissect_tcpopt_sack(const ip_tcp_opt *optp, tvbuff_t *tvb,
int direction;
guint32 base_ack=0;
- if(tcp_relative_seq){
+ if(tcp_analyze_seq && tcp_relative_seq){
/* find(or create if needed) the conversation for this tcp session */
tcpd=get_tcp_conversation_data(pinfo);