aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-pipe.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-03-22 00:50:44 +0000
committerGuy Harris <guy@alum.mit.edu>2001-03-22 00:50:44 +0000
commit11f72f73b8998da38147cfe0f097d34125a4cb5d (patch)
treea789c15d2a8a7b71a8ee4123d5fe7cfa29916eb7 /packet-smb-pipe.c
parent6b3c6ad8913ad4273084594e5074f55106bace0c (diff)
When constructing the tree for a LANMAN transaction continuation, use
the parameter offset, not the data offset, as the starting offset. svn path=/trunk/; revision=3155
Diffstat (limited to 'packet-smb-pipe.c')
-rw-r--r--packet-smb-pipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-smb-pipe.c b/packet-smb-pipe.c
index ddf1a712f4..34bea5a49c 100644
--- a/packet-smb-pipe.c
+++ b/packet-smb-pipe.c
@@ -2,7 +2,7 @@
* Routines for SMB named pipe packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb-pipe.c,v 1.20 2001/03/22 00:28:35 guy Exp $
+ * $Id: packet-smb-pipe.c,v 1.21 2001/03/22 00:50:44 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -803,11 +803,11 @@ dissect_pipe_lanman(const u_char *pd, int offset, frame_data *fd,
if (tree) {
- ti = proto_tree_add_item(parent, proto_smb_lanman, NullTVB, SMB_offset + DataOffset, END_OF_FRAME, FALSE);
+ ti = proto_tree_add_item(parent, proto_smb_lanman, NullTVB, loc_offset, END_OF_FRAME, FALSE);
lanman_tree = proto_item_add_subtree(ti, ett_lanman);
- proto_tree_add_text(lanman_tree, NullTVB, loc_offset, END_OF_FRAME, "Payload: %s", format_text(pd + SMB_offset + DataOffset, END_OF_FRAME));
+ proto_tree_add_text(lanman_tree, NullTVB, loc_offset, END_OF_FRAME, "Payload: %s", format_text(pd + loc_offset, END_OF_FRAME));
}