diff options
author | Evan Huus <eapache@gmail.com> | 2013-02-09 01:32:19 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-02-09 01:32:19 +0000 |
commit | 47d20bf9be1ea6dc98c81a9b4966bf1264404b77 (patch) | |
tree | 25c521a279eb2a6e5eb7f75a4464c20524a7af6d /epan/dissectors/packet-bacapp.c | |
parent | 942650fe0e99e1a7f315ce717043898c5d7612a9 (diff) |
From Lori Tribble via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8306
Fix decoding the Loop Object Setpoint-Reference property in BACapp packets.
svn path=/trunk/; revision=47577
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r-- | epan/dissectors/packet-bacapp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c index 1fa9cf4364..304b647e40 100644 --- a/epan/dissectors/packet-bacapp.c +++ b/epan/dissectors/packet-bacapp.c @@ -6636,10 +6636,15 @@ fAbstractSyntaxNType (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint break; case 19: /* controlled-variable-reference */ case 60: /* manipulated-variable-reference */ - case 109: /* Setpoint-Reference */ case 132: /* log-device-object-property */ offset = fDeviceObjectPropertyReference (tvb, pinfo, tree, offset); break; + case 109: /* Setpoint-Reference */ + /* setpoint-Reference is actually BACnetSetpointReference which is a SEQ of [0] */ + offset += fTagHeaderTree(tvb, pinfo, tree, offset, &tag_no, &tag_info, &lvt); + offset = fBACnetObjectPropertyReference (tvb, pinfo, tree, offset); + offset += fTagHeaderTree(tvb, pinfo, tree, offset, &tag_no, &tag_info, &lvt); + break; case 123: /* weekly-schedule -- accessed as a BACnetARRAY */ if (object_type < 128) { if (propertyArrayIndex == 0) { |