diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-04-23 10:20:29 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-04-23 10:20:29 +0000 |
commit | cb5e97d49a35b6138951007b6353619ae1fcc254 (patch) | |
tree | c98f4e485250f56167f3dad690e57fcc64d240d8 /packet-socks.c | |
parent | 1b872b3648180aa042e36dd5b3ff38a03fa131e3 (diff) |
Update to TCP to handle hints from dissectors where the next PDU may start.
ONCRPC dissector updated to provide hint to TCP where the next RPCoverTCP
PDU starts as example.
Trivial updates to the other TCP based protocols required to amke them handle
this as well. See the updates to packet-rpc.c as an example.
This is enabled by activating tcp analysis and provides hints to TCP to know where PDUs starts when not aligned to the start of the segment.
svn path=/trunk/; revision=7543
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 93363d77d1..2105167679 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.44 2003/02/26 01:35:07 gerald Exp $ + * $Id: packet-socks.c,v 1.45 2003/04/23 10:20:29 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -945,7 +945,7 @@ static void call_next_dissector(tvbuff_t *tvb, int offset, packet_info *pinfo, ptr = &pinfo->srcport; *ptr = hash_info->port; - decode_tcp_ports( tvb, offset, pinfo, tree, pinfo->srcport, pinfo->destport); + decode_tcp_ports( tvb, offset, pinfo, tree, pinfo->srcport, pinfo->destport, 0); *ptr = TCP_PORT_SOCKS; } } |