diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-10 01:38:20 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-10 01:38:20 +0000 |
commit | 6142dd287bb03011ee572d01bcf903c81523fd0c (patch) | |
tree | 2bd87f3a367ddef9e8f83eb6a3307cc974aba138 /asn1/idmp | |
parent | 93c7550b4a5cd7c93212a77f836ab78968f82282 (diff) |
Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1/*:
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
the encoding parameter for proto_tree_add_item() calls which directly reference
an item in hf[] which has a type of:
FT_BOOLEAN
FT_IPv4
FT_EUI64
FT_GUID
FT_UINT_STRING
Also: For type FT_IPv6 use ENC_NA. (This was missed in SVN #39260)
svn path=/trunk/; revision=39332
Diffstat (limited to 'asn1/idmp')
-rw-r--r-- | asn1/idmp/packet-idmp-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/idmp/packet-idmp-template.c b/asn1/idmp/packet-idmp-template.c index 9b63394343..447a50af92 100644 --- a/asn1/idmp/packet-idmp-template.c +++ b/asn1/idmp/packet-idmp-template.c @@ -181,7 +181,7 @@ static void dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_t /* now check the segment fields */ proto_tree_add_item(tree, hf_idmp_version, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; - proto_tree_add_item(tree, hf_idmp_final, tvb, offset, 1, FALSE); + proto_tree_add_item(tree, hf_idmp_final, tvb, offset, 1, ENC_BIG_ENDIAN); idmp_final = tvb_get_guint8(tvb, offset); offset++; proto_tree_add_item(tree, hf_idmp_length, tvb, offset, 4, ENC_BIG_ENDIAN); idmp_length = tvb_get_ntohl(tvb, offset); offset += 4; |