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-msproxy.c | |
parent | 4192ad97702962b1596614222cdc95e0ead8af2c (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.
svn path=/trunk/; revision=8912
Diffstat (limited to 'packet-msproxy.c')
-rw-r--r-- | packet-msproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-msproxy.c b/packet-msproxy.c index da3a5d5239..afb6903d0c 100644 --- a/packet-msproxy.c +++ b/packet-msproxy.c @@ -2,7 +2,7 @@ * Routines for Microsoft Proxy packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-msproxy.c,v 1.35 2003/07/16 05:39:25 guy Exp $ + * $Id: packet-msproxy.c,v 1.36 2003/11/08 00:02:55 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -245,7 +245,7 @@ static void msproxy_sub_dissector( tvbuff_t *tvb, packet_info *pinfo, if ( redirect_info->proto == PT_TCP) decode_tcp_ports( tvb, 0, pinfo, tree, pinfo->srcport, - pinfo->destport, 0); + pinfo->destport); else decode_udp_ports( tvb, 0, pinfo, tree, pinfo->srcport, pinfo->destport); |