diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-08 19:31:01 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-08 19:31:01 +0000 |
commit | bc0e2d53e57ac2f0844a845e3e1758992f85b6b3 (patch) | |
tree | 392fc4340c2bdf6163ae904ac7703cbc584f3e60 /packet-smb-logon.c | |
parent | 53166d430e895dd48a32e4314d1654e5f58ba15e (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3663 f5534014-38df-0310-8fa8-9805f1628bb7
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; } |