aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtls.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-05 00:25:09 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-05 00:25:09 +0000
commit99daa0cebae9249cc712da88659b398bacf188bb (patch)
treed76c0ced7ac166a624bba184ac8ac32285207a95 /epan/dissectors/packet-dtls.c
parent5c48051aa3723622efd3c6abaa651f8a36e8dd1b (diff)
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item with types in hf[] of:
FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39261 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dtls.c')
-rw-r--r--epan/dissectors/packet-dtls.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c
index 6f0612d05b..1ca1c4ea4c 100644
--- a/epan/dissectors/packet-dtls.c
+++ b/epan/dissectors/packet-dtls.c
@@ -663,7 +663,7 @@ dissect_dtls_record(tvbuff_t *tvb, packet_info *pinfo,
/* add the record layer subtree header */
tvb_ensure_bytes_exist(tvb, offset, 13 + record_length);
ti = proto_tree_add_item(tree, hf_dtls_record, tvb,
- offset, 13 + record_length, 0);
+ offset, 13 + record_length, ENC_NA);
dtls_record_tree = proto_item_add_subtree(ti, ett_dtls_record);
}
@@ -849,7 +849,7 @@ dissect_dtls_record(tvbuff_t *tvb, packet_info *pinfo,
}
proto_tree_add_item(dtls_record_tree, hf_dtls_record_appdata, tvb,
- offset, record_length, 0);
+ offset, record_length, ENC_NA);
break;
default:
@@ -906,7 +906,7 @@ dissect_dtls_alert(tvbuff_t *tvb, packet_info *pinfo,
if (tree)
{
ti = proto_tree_add_item(tree, hf_dtls_alert_message, tvb,
- offset, 2, 0);
+ offset, 2, ENC_NA);
ssl_alert_tree = proto_item_add_subtree(ti, ett_dtls_alert);
}
@@ -1130,7 +1130,7 @@ dissect_dtls_handshake(tvbuff_t *tvb, packet_info *pinfo,
/* add a subtree for the handshake protocol */
ti = proto_tree_add_item(tree, hf_dtls_handshake_protocol, tvb,
- offset, fragment_length + 12, 0);
+ offset, fragment_length + 12, ENC_NA);
ssl_hand_tree = proto_item_add_subtree(ti, ett_dtls_handshake);
if (ssl_hand_tree)
@@ -1341,7 +1341,7 @@ dissect_dtls_hnd_hello_common(tvbuff_t *tvb, proto_tree *tree,
/* show the random bytes */
proto_tree_add_item(tree, hf_dtls_handshake_random_bytes,
- tvb, offset, 28, 0);
+ tvb, offset, 28, ENC_NA);
offset += 28;
/* show the session id */