aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-socks.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-01-26 22:50:16 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-01-26 22:50:16 +0000
commitdab77d86f1d4c3104fec21f47f3e3b3b85f90199 (patch)
tree860070af76f874bcb0265e374289c76650046162 /epan/dissectors/packet-socks.c
parent094840aa97a1e4c6d02786e69f4abd1f0163230f (diff)
rewrite of the tcp sequence number analysis code to hopefully make it cleaner and easier to maintain and extend.
i have tested it with many captures but this used to be fragile and delicate code so there might be some regressions that will need to be addressed once identified. svn path=/trunk/; revision=17107
Diffstat (limited to 'epan/dissectors/packet-socks.c')
-rw-r--r--epan/dissectors/packet-socks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-socks.c b/epan/dissectors/packet-socks.c
index eeba019bd4..2ff0a73f56 100644
--- a/epan/dissectors/packet-socks.c
+++ b/epan/dissectors/packet-socks.c
@@ -941,6 +941,9 @@ static void call_next_dissector(tvbuff_t *tvb, int offset, packet_info *pinfo,
guint32 *ptr;
struct tcpinfo *tcpinfo = pinfo->private_data;
guint16 save_can_desegment;
+ struct tcp_analysis *tcpd=NULL;
+
+ tcpd=get_tcp_conversation_data(pinfo);
if (( hash_info->command == PING_COMMAND) ||
( hash_info->command == TRACERT_COMMAND))
@@ -967,7 +970,7 @@ static void call_next_dissector(tvbuff_t *tvb, int offset, packet_info *pinfo,
pinfo->can_desegment = pinfo->saved_can_desegment;
dissect_tcp_payload(tvb, pinfo, offset, tcpinfo->seq,
tcpinfo->nxtseq, pinfo->srcport, pinfo->destport,
- tree, socks_tree);
+ tree, socks_tree, tcpd);
pinfo->can_desegment = save_can_desegment;
CLEANUP_CALL_AND_POP;