diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-10-27 05:20:19 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-10-27 05:20:19 +0000 |
commit | cff062cd44889020e2aadbe6ea7d2d51cfe655b3 (patch) | |
tree | 5a7f7c89473b2bb244ea4a1d17a120213daabc6e /epan/dissectors/packet-bacapp.c | |
parent | db24f90c2d21e15653a8a7ed247bb44663cdbe0b (diff) |
From Herbert Lischka:
Minor changes to dissector packet-bacapp.c to solve some strange
views to ReadPropertyMultiple-Acknowledge frames.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4161
svn path=/trunk/; revision=30726
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r-- | epan/dissectors/packet-bacapp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c index f17f810551..35c384761e 100644 --- a/epan/dissectors/packet-bacapp.c +++ b/epan/dissectors/packet-bacapp.c @@ -5453,11 +5453,11 @@ fReadAccessResult (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint of switch (tag_no) { case 0: /* objectSpecifier */ - offset = fObjectIdentifier (tvb, subtree, offset); + offset = fObjectIdentifier (tvb, tree, offset); break; case 1: /* list of Results */ if (tag_is_opening(tag_info)) { - tt = proto_tree_add_text(subtree, tvb, offset, 1, "listOfResults"); + tt = proto_tree_add_text(tree, tvb, offset, 1, "listOfResults"); subtree = proto_item_add_subtree(tt, ett_bacapp_value); offset += fTagHeaderTree (tvb, subtree, offset, &tag_no, &tag_info, &lvt); break; @@ -5469,7 +5469,7 @@ fReadAccessResult (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint of break; case 5: /* propertyAccessError */ if (tag_is_opening(tag_info)) { - tt = proto_tree_add_text(subtree, tvb, offset, 1, "propertyAccessError"); + tt = proto_tree_add_text(tree, tvb, offset, 1, "propertyAccessError"); subtree = proto_item_add_subtree(tt, ett_bacapp_value); offset += fTagHeaderTree (tvb, subtree, offset, &tag_no, &tag_info, &lvt); /* Error Code follows */ |