summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-smb.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2006-09-21 13:08:50 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2006-09-21 13:08:50 +0000
commit18664a78036986a4e639840f2938144661f033c3 (patch)
tree10173a928da3b9090ee682d3d2a79cc4a77430b8 /epan/dissectors/packet-smb.c
parent4990aec4b9023348a2c8aa5b14049e04a5188a1c (diff)
downloadwireshark-18664a78036986a4e639840f2938144661f033c3.tar.gz
From: Marco Strack
The smb dissector displays lock requests in the "Locking AndX Request" as a vector of locks. It opens a tree branch "Locks" and appends the locks to this branch. Instead of adding "Lock" objects to this branch it added "Unlock" objects. Everything else is fine. svn path=/trunk/; revision=19271
Diffstat (limited to 'epan/dissectors/packet-smb.c')
-rw-r--r--epan/dissectors/packet-smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c
index 5bbce21ab8..a2634c7678 100644
--- a/epan/dissectors/packet-smb.c
+++ b/epan/dissectors/packet-smb.c
@@ -5137,8 +5137,8 @@ dissect_locking_andx_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
} else {
/* normal lock format */
litem = proto_tree_add_text(tr, tvb, offset, 10,
- "Unlock");
- ltree = proto_item_add_subtree(litem, ett_smb_unlock);
+ "Lock");
+ ltree = proto_item_add_subtree(litem, ett_smb_lock);
/* PID */
CHECK_BYTE_COUNT(2);