aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dvbci.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-04-18 16:43:36 +0200
committerAnders Broman <a.broman58@gmail.com>2014-04-18 20:15:04 +0000
commitad33357e627c02d4b4f9b78e75a78fbfebd1d12f (patch)
tree94c5f33c77f33e16ee7cd1020be4c27c2b986e10 /epan/dissectors/packet-dvbci.c
parentbe76ba5f0df80f2e0f44f2c8bad9ee2e7341a729 (diff)
Exported PDU: add support for more than 32 tags
Change-Id: Idc9f105164919827a8a81c88b5a56de4fa25df0b Reviewed-on: https://code.wireshark.org/review/1197 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dvbci.c')
-rw-r--r--epan/dissectors/packet-dvbci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dvbci.c b/epan/dissectors/packet-dvbci.c
index 65f7542e54..3da8c2add2 100644
--- a/epan/dissectors/packet-dvbci.c
+++ b/epan/dissectors/packet-dvbci.c
@@ -3415,6 +3415,7 @@ dissect_sac_msg(guint32 tag, tvbuff_t *tvb, gint offset,
tvbuff_t *clear_sac_msg_tvb;
exp_pdu_data_t *exp_pdu_data;
+ guint8 tags[2];
clear_sac_msg_tvb = tvb_new_composite();
tvb_composite_append(clear_sac_msg_tvb,
@@ -3422,8 +3423,10 @@ dissect_sac_msg(guint32 tag, tvbuff_t *tvb, gint offset,
tvb_composite_append(clear_sac_msg_tvb, clear_sac_body_tvb);
tvb_composite_finalize(clear_sac_msg_tvb);
+ tags[0] = 0;
+ tags[1] = EXP_PDU_TAG_DVBCI_EVT_BIT;
exp_pdu_data = load_export_pdu_tags(
- pinfo, EXPORTED_SAC_MSG_PROTO, -1, EXP_PDU_TAG_DVBCI_EVT_BIT);
+ pinfo, EXPORTED_SAC_MSG_PROTO, -1, tags, 2);
exp_pdu_data->tvb_captured_length = tvb_captured_length(clear_sac_msg_tvb);
exp_pdu_data->tvb_reported_length = tvb_reported_length(clear_sac_msg_tvb);