diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-11-08 00:02:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-11-08 00:02:56 +0000 |
commit | b304a75c66f45dfbb5bbc48a45f088d09ed3aa12 (patch) | |
tree | a868056ed85acb2694cd291fe359dc0e2644e61a /packet-socks.c | |
parent | 4192ad97702962b1596614222cdc95e0ead8af2c (diff) | |
download | wireshark-b304a75c66f45dfbb5bbc48a45f088d09ed3aa12.tar.gz wireshark-b304a75c66f45dfbb5bbc48a45f088d09ed3aa12.tar.bz2 wireshark-b304a75c66f45dfbb5bbc48a45f088d09ed3aa12.zip |
"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.
svn path=/trunk/; revision=8912
Diffstat (limited to 'packet-socks.c')
-rw-r--r-- | packet-socks.c | 4 |
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 */ |