diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-08 19:31:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-08 19:31:01 +0000 |
commit | dafe07146a616f2d4993c145907eb53685a17bbb (patch) | |
tree | 392fc4340c2bdf6163ae904ac7703cbc584f3e60 /packet-smb-logon.c | |
parent | a3137abdeea2f9aa30d4a81da362ee250813d4fc (diff) |
Assume the last token in a Announce Change to UAS or SAM message is an
LM token - it appears to have the value 0xffff in several captures, and
follows an "LMNT Token" field, so it might be an LM token.
svn path=/trunk/; revision=3663
Diffstat (limited to 'packet-smb-logon.c')
-rw-r--r-- | packet-smb-logon.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packet-smb-logon.c b/packet-smb-logon.c index 5f06365f9b..6e81e0b6ce 100644 --- a/packet-smb-logon.c +++ b/packet-smb-logon.c @@ -2,7 +2,7 @@ * Routines for SMB net logon packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-smb-logon.c,v 1.14 2001/07/08 11:32:02 guy Exp $ + * $Id: packet-smb-logon.c,v 1.15 2001/07/08 19:31:01 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -425,10 +425,8 @@ dissect_announce_change(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int proto_tree_add_item(tree, hf_lmnt_token, tvb, offset, 2, TRUE); offset += 2; - /* unknown token */ - proto_tree_add_text(tree, tvb, offset, 2, "Unknown Token: 0x%04x", - tvb_get_letohs(tvb, offset)); - offset += 2; + /* LM token(? - was "Unknown Token") */ + offset = display_LM_token(tvb, offset, pinfo, tree); return offset; } |