aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-08-27 23:17:30 +0000
committerGuy Harris <guy@alum.mit.edu>2001-08-27 23:17:30 +0000
commit9cef3b28ad150725ff8196230b13ecc0f643a220 (patch)
treef4ce5fadff7fada0fb2bda6703be8822a1728ba9 /packet-smb.c
parenta7f16a41d9edd6e425402116bb20b13acb2e3d7b (diff)
Put in a comment noting that the "Service" string in a Tree Connect and
X reply is always in ASCII. svn path=/trunk/; revision=3877
Diffstat (limited to 'packet-smb.c')
-rw-r--r--packet-smb.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c
index bdb0e8b243..db62791dd5 100644
--- a/packet-smb.c
+++ b/packet-smb.c
@@ -2,7 +2,7 @@
* Routines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb.c,v 1.110 2001/08/27 20:15:30 guy Exp $
+ * $Id: packet-smb.c,v 1.111 2001/08/27 23:17:30 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -3802,7 +3802,6 @@ dissect_tcon_andx_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *
proto_tree_add_text(optionsup_tree, NullTVB, offset, 2, "%s",
decode_boolean_bitfield(optionsup, 0x0002, 16, "Share is in DFS", "Share isn't in DFS"));
-
}
offset += 2;
@@ -3817,6 +3816,11 @@ dissect_tcon_andx_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *
offset += 2;
+ /*
+ * NOTE: the Service string is always ASCII, even if the "strings are
+ * Unicode" bit is set in the flags2 field of the SMB.
+ */
+
str = pd + offset;
if (tree) {