diff options
author | Michael Mann <mmann78@netscape.net> | 2013-12-26 14:28:22 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-12-26 14:28:22 +0000 |
commit | 60b1c303828139a96b424c8fe99dc3607940faee (patch) | |
tree | 842a81f2ff54180e85f07215e18fd5cd01d5e12c /epan/dissectors/packet-zbee-zcl.h | |
parent | a2abd0eef45c1622d6dfd99a3ba5994566cc1809 (diff) |
Bugfix attribute id parsing in zbee dissectors. Bug 9566 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9566)
From Fabio Tarabelloni
svn path=/trunk/; revision=54465
Diffstat (limited to 'epan/dissectors/packet-zbee-zcl.h')
-rw-r--r-- | epan/dissectors/packet-zbee-zcl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-zbee-zcl.h b/epan/dissectors/packet-zbee-zcl.h index 0c12b335dd..915b2cb48b 100644 --- a/epan/dissectors/packet-zbee-zcl.h +++ b/epan/dissectors/packet-zbee-zcl.h @@ -178,7 +178,7 @@ typedef struct{ #define MONTHS_PER_YEAR 12 #define YEAR_OFFSET 1900 -typedef void (*zbee_zcl_fn_attr_id) (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id); +typedef void (*zbee_zcl_fn_attr_id) (proto_tree *tree, tvbuff_t *tvb, guint *offset); typedef void (*zbee_zcl_fn_attr_data) (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type); typedef void (*zbee_zcl_fn_cmd_id) (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint8 dir); @@ -196,6 +196,7 @@ typedef struct _zbee_zcl_cluster_desc { extern const value_string zbee_zcl_short_data_type_names[]; /* Dissector functions */ +extern void dissect_zcl_read_attr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id); extern void dissect_zcl_write_attr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id); extern void dissect_zcl_read_attr_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id); |