aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afs.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-09-16 23:24:32 +0000
committerEvan Huus <eapache@gmail.com>2013-09-16 23:24:32 +0000
commit98761803e925acad7837501903014391269fd610 (patch)
tree28d1d6e4025eb82510c451ca4d9a0d8144b8c70c /epan/dissectors/packet-afs.c
parent64d9c005f96ffa2eabb8f3b4edafba9cffe32d87 (diff)
From Mark Vitale via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9142
Fix decoding of AFS Volume Name. svn path=/trunk/; revision=52114
Diffstat (limited to 'epan/dissectors/packet-afs.c')
-rw-r--r--epan/dissectors/packet-afs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-afs.c b/epan/dissectors/packet-afs.c
index 8199bec3ab..4d5509e818 100644
--- a/epan/dissectors/packet-afs.c
+++ b/epan/dissectors/packet-afs.c
@@ -571,7 +571,7 @@ static const fragment_items afs_frag_items = {
{ guint32 i_orxs,len_orxs; \
i_orxs = tvb_get_ntohl(tvb, offset); \
len_orxs = ((i_orxs+4-1)/4)*4 + 4; \
- proto_tree_add_item(tree, field, tvb, offset-4, len_orxs, \
+ proto_tree_add_item(tree, field, tvb, offset+4, i_orxs, \
ENC_ASCII|ENC_NA); \
offset += len_orxs; \
}