From dab77d86f1d4c3104fec21f47f3e3b3b85f90199 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 26 Jan 2006 22:50:16 +0000 Subject: 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 --- epan/dissectors/packet-socks.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'epan/dissectors/packet-socks.c') 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; -- cgit v1.2.3