Hi,
Checked in, with the additional change of ett_smb_unlock -> ett_smb_lock
in the next line.
Clearly a copy-paste-forgot-to-modify
Thanx,
Jaap
On Thu, 21 Sep 2006, Marco Strack wrote:
> Hi,
>
> 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.
>
>
>
> Index: epan/dissectors/packet-smb.c
> ===================================================================
> --- epan/dissectors/packet-smb.c (revision 19270)
> +++ epan/dissectors/packet-smb.c (working copy)
> @@ -5137,7 +5137,7 @@
> } else {
> /* normal lock format */
> litem = proto_tree_add_text(tr, tvb, offset, 10,
> - "Unlock");
> + "Lock");
> ltree = proto_item_add_subtree(litem, ett_smb_unlock);
>
> /* PID */
>
>
>
>
>
>
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>