aboutsummaryrefslogtreecommitdiffstats
path: root/packet-socks.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-11-08 00:02:56 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-11-08 00:02:56 +0000
commit57768b0deca35fe66b1b8910c2279081284c0a9a (patch)
treea868056ed85acb2694cd291fe359dc0e2644e61a /packet-socks.c
parent187eded5daea444661c0a576c57e8e5cad512e84 (diff)
"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
Diffstat (limited to 'packet-socks.c')
-rw-r--r--packet-socks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-socks.c b/packet-socks.c
index f03e3e424d..a4e5f6a119 100644
--- a/packet-socks.c
+++ b/packet-socks.c
@@ -2,7 +2,7 @@
* Routines for socks versions 4 &5 packet dissection
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet-socks.c,v 1.48 2003/10/15 20:07:51 guy Exp $
+ * $Id: packet-socks.c,v 1.49 2003/11/08 00:02:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -925,7 +925,7 @@ static void call_next_dissector(tvbuff_t *tvb, int offset, packet_info *pinfo,
in_socks_dissector_flag = 1; /* avoid recursive overflow */
- decode_tcp_ports( tvb, offset, pinfo, tree, pinfo->srcport, pinfo->destport, 0);
+ decode_tcp_ports( tvb, offset, pinfo, tree, pinfo->srcport, pinfo->destport);
in_socks_dissector_flag = 0; /* avoid recursive overflow */