diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-04-18 16:43:36 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-04-18 20:15:04 +0000 |
commit | ad33357e627c02d4b4f9b78e75a78fbfebd1d12f (patch) | |
tree | 94c5f33c77f33e16ee7cd1020be4c27c2b986e10 /epan/dissectors/packet-dtls.c | |
parent | be76ba5f0df80f2e0f44f2c8bad9ee2e7341a729 (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-dtls.c')
-rw-r--r-- | epan/dissectors/packet-dtls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c index 64a3486c02..24c93b949d 100644 --- a/epan/dissectors/packet-dtls.c +++ b/epan/dissectors/packet-dtls.c @@ -1037,10 +1037,11 @@ dissect_dtls_record(tvbuff_t *tvb, packet_info *pinfo, if (have_tap_listener(exported_pdu_tap)) { exp_pdu_data_t *exp_pdu_data; + guint8 tags = EXP_PDU_TAG_IP_SRC_BIT | EXP_PDU_TAG_IP_DST_BIT | EXP_PDU_TAG_SRC_PORT_BIT | + EXP_PDU_TAG_DST_PORT_BIT | EXP_PDU_TAG_ORIG_FNO_BIT; exp_pdu_data = load_export_pdu_tags(pinfo, dissector_handle_get_dissector_name(association->handle), -1, - (EXP_PDU_TAG_IP_SRC_BIT | EXP_PDU_TAG_IP_DST_BIT | EXP_PDU_TAG_SRC_PORT_BIT | - EXP_PDU_TAG_DST_PORT_BIT | EXP_PDU_TAG_ORIG_FNO_BIT)); + &tags, 1); exp_pdu_data->tvb_captured_length = tvb_captured_length(next_tvb); exp_pdu_data->tvb_reported_length = tvb_reported_length(next_tvb); |