Properly handle the andX command in a LockingAndX message.

Fix up some closing braces.

svn path=/trunk/; revision=4049
This commit is contained in:
Guy Harris 2001-10-20 19:29:21 +00:00
parent b37cf9406e
commit 106740a5f5
1 changed files with 14 additions and 13 deletions

View File

@ -2,7 +2,7 @@
* Routines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
* $Id: packet-smb.c,v 1.121 2001/09/30 23:36:46 guy Exp $
* $Id: packet-smb.c,v 1.122 2001/10/20 19:29:21 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -7527,7 +7527,8 @@ dissect_locking_andx_smb(const u_char *pd, int offset, frame_data *fd, proto_tre
if (tree) {
proto_tree_add_text(tree, NullTVB, offset, 1, "AndXCommand: %u", AndXCommand);
proto_tree_add_text(tree, NullTVB, offset, 1, "AndXCommand: %s",
(AndXCommand == 0xFF ? "No further commands" : decode_smb_name(AndXCommand)));
}