From 57768b0deca35fe66b1b8910c2279081284c0a9a Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 8 Nov 2003 00:02:56 +0000 Subject: "decode_tcp_ports()" is for use by protocols that proxy transport-layer packets/sessions, e.g. MSProxy and SOCKS. It should not cause any of the TCP-specific stuff such as sequence number analysis or PDU tracking to be done. (Actually, MSProxy and SOCKS should offer desegmentation services *themselves* and do their *own* PDU tracking, rather than just passing stuff on to "decode_tcp_ports()", but that's another matter.) Make "tcp_tree" once again be a local variable to "dissect_tcp()", and pass it as an argument to those functions that use it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8912 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-tcp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-tcp.h') diff --git a/packet-tcp.h b/packet-tcp.h index 0059bf058a..0c621b9812 100644 --- a/packet-tcp.h +++ b/packet-tcp.h @@ -1,6 +1,6 @@ /* packet-tcp.h * - * $Id: packet-tcp.h,v 1.18 2003/09/12 05:52:38 sahlberg Exp $ + * $Id: packet-tcp.h,v 1.19 2003/11/08 00:02:56 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -85,6 +85,6 @@ tcp_dissect_pdus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void (*dissect_pdu)(tvbuff_t *, packet_info *, proto_tree *)); extern void decode_tcp_ports(tvbuff_t *, int, packet_info *, - proto_tree *, int, int, guint32); + proto_tree *, int, int); #endif -- cgit v1.2.3