diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-09-29 20:32:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-09-29 20:32:29 +0000 |
commit | 745d836320979db453ca0b7e9aabf93294e2a9f4 (patch) | |
tree | 39157f531410dfd51c728ab20c0ee0ca60a36a05 /packet-netbios.c | |
parent | f2cb0c704d2132b72c13c499779ce732140850fc (diff) | |
download | wireshark-745d836320979db453ca0b7e9aabf93294e2a9f4.tar.gz wireshark-745d836320979db453ca0b7e9aabf93294e2a9f4.tar.bz2 wireshark-745d836320979db453ca0b7e9aabf93294e2a9f4.zip |
Make the item for NetBIOS only as long as the NetBIOS header, so that it
doesn't cover the payload.
svn path=/trunk/; revision=3977
Diffstat (limited to 'packet-netbios.c')
-rw-r--r-- | packet-netbios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-netbios.c b/packet-netbios.c index 8236aad4e1..31cd63e6e6 100644 --- a/packet-netbios.c +++ b/packet-netbios.c @@ -5,7 +5,7 @@ * * derived from the packet-nbns.c * - * $Id: packet-netbios.c,v 1.38 2001/09/29 01:19:00 guy Exp $ + * $Id: packet-netbios.c,v 1.39 2001/09/29 20:32:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1028,7 +1028,7 @@ dissect_netbios(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } if ( tree) { - ti = proto_tree_add_item(tree, proto_netbios, tvb, 0, tvb_length(tvb), FALSE); + ti = proto_tree_add_item(tree, proto_netbios, tvb, 0, hdr_len, FALSE); netb_tree = proto_item_add_subtree(ti, ett_netb); proto_tree_add_uint_format(netb_tree, hf_netb_hdr_len, tvb, offset, 2, hdr_len, |