diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-08 00:37:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-08 00:37:37 +0000 |
commit | fad3e5f4676a89a16f1149804c9b4bc7f262c001 (patch) | |
tree | ef78251ee4e9a8e98d133f69f3dc63abfede1bd0 /asn1 | |
parent | cbd26a417b8d7ca4e5f96cde74bf73522a2f4b6b (diff) | |
download | wireshark-fad3e5f4676a89a16f1149804c9b4bc7f262c001.tar.gz wireshark-fad3e5f4676a89a16f1149804c9b4bc7f262c001.tar.bz2 wireshark-fad3e5f4676a89a16f1149804c9b4bc7f262c001.zip |
Get rid of remaining Booleans-as-encoding-arguments in
proto_tree_add_item() calls.
svn path=/trunk/; revision=42498
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/nbap/nbap.cnf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/nbap/nbap.cnf b/asn1/nbap/nbap.cnf index 53c124d9de..2583d756f1 100644 --- a/asn1/nbap/nbap.cnf +++ b/asn1/nbap/nbap.cnf @@ -338,12 +338,12 @@ actx->pinfo->link_dir=P2P_DIR_UL; subtree = proto_item_add_subtree(actx->created_item, ett_nbap_TransportLayerAddress); if (tvb_len==4){ /* IPv4 */ - proto_tree_add_item(subtree, hf_nbap_transportLayerAddress_ipv4, parameter_tvb, 0, tvb_len, FALSE); + proto_tree_add_item(subtree, hf_nbap_transportLayerAddress_ipv4, parameter_tvb, 0, tvb_len, ENC_BIG_ENDIAN); transportLayerAddress_ipv4 = tvb_get_ipv4(parameter_tvb, 0); } if (tvb_len==16){ /* IPv6 */ - proto_tree_add_item(subtree, hf_nbap_transportLayerAddress_ipv6, parameter_tvb, 0, tvb_len, FALSE); + proto_tree_add_item(subtree, hf_nbap_transportLayerAddress_ipv6, parameter_tvb, 0, tvb_len, ENC_NA); } if (tvb_len==20){ item = proto_tree_add_item(subtree, hf_nbap_transportLayerAddress_nsap, parameter_tvb, 0, tvb_len, ENC_NA); |