aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x2ap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-05-11 07:38:59 +0000
committerGuy Harris <guy@alum.mit.edu>2012-05-11 07:38:59 +0000
commit77ae45d3b6e0f6ac9fbaf093680178d92e17aec9 (patch)
treee4d8ef3f04a46a2a64a0fc6a81b745ec0a905d0d /epan/dissectors/packet-x2ap.c
parenta01546ad7e337a29dd568b0b66f754125feaf4c8 (diff)
Get rid of remaining Booleans-as-encoding-arguments in
proto_tree_add_item() calls. Fix a field that was presumably intended to be of type FT_IPv6. svn path=/trunk/; revision=42564
Diffstat (limited to 'epan/dissectors/packet-x2ap.c')
-rw-r--r--epan/dissectors/packet-x2ap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-x2ap.c b/epan/dissectors/packet-x2ap.c
index 08ccf2a8de..7f453a9e9a 100644
--- a/epan/dissectors/packet-x2ap.c
+++ b/epan/dissectors/packet-x2ap.c
@@ -2417,11 +2417,11 @@ dissect_x2ap_TransportLayerAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TransportLayerAddress);
if (tvb_len==4){
/* IPv4 */
- proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv4, parameter_tvb, 0, tvb_len, FALSE);
+ proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv4, parameter_tvb, 0, tvb_len, ENC_BIG_ENDIAN);
}
if (tvb_len==16){
/* IPv6 */
- proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv6, parameter_tvb, 0, tvb_len, FALSE);
+ proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv6, parameter_tvb, 0, tvb_len, ENC_NA);
}
@@ -5482,7 +5482,7 @@ void proto_register_x2ap(void) {
NULL, HFILL }},
{ &hf_x2ap_transportLayerAddressIPv6,
{ "transportLayerAddress(IPv6)", "x2ap.transportLayerAddressIPv6",
- FT_IPv4, BASE_NONE, NULL, 0,
+ FT_IPv6, BASE_NONE, NULL, 0,
NULL, HFILL }},