diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-11 20:02:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-11 20:02:52 +0000 |
commit | 944ae5ae4927a1358fc93bd0ac1a62f323e01d12 (patch) | |
tree | ef8af7fb0552156b375044f4eb358f211ecd9a9c /plugins/wimaxasncp | |
parent | 0adedfaaee3444a63c3498634842bb1597523ffc (diff) |
Get rid of remaining Booleans-as-encoding-arguments in
proto_tree_add_item() calls.
svn path=/trunk/; revision=42590
Diffstat (limited to 'plugins/wimaxasncp')
-rw-r--r-- | plugins/wimaxasncp/packet-wimaxasncp.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c index f02f710993..ab82c6f70a 100644 --- a/plugins/wimaxasncp/packet-wimaxasncp.c +++ b/plugins/wimaxasncp/packet-wimaxasncp.c @@ -1343,7 +1343,7 @@ static void wimaxasncp_dissect_tlv_value( /* hidden item for filtering */ item = proto_tree_add_item( protocol_list_tree, tlv_info->hf_value, - tvb, offset, length, FALSE); + tvb, offset, length, ENC_NA); PROTO_ITEM_SET_HIDDEN(item); @@ -1403,7 +1403,7 @@ static void wimaxasncp_dissect_tlv_value( /* hidden item for filtering */ item = proto_tree_add_item( port_range_list_tree, tlv_info->hf_value, - tvb, offset, length, FALSE); + tvb, offset, length, ENC_NA); PROTO_ITEM_SET_HIDDEN(item); @@ -1423,13 +1423,13 @@ static void wimaxasncp_dissect_tlv_value( item = proto_tree_add_item( port_range_list_tree, tlv_info->hf_port_low, - tvb, offset, 2, FALSE); + tvb, offset, 2, ENC_BIG_ENDIAN); PROTO_ITEM_SET_HIDDEN(item); item = proto_tree_add_item( port_range_list_tree, tlv_info->hf_port_high, - tvb, offset + 2, 2, FALSE); + tvb, offset + 2, 2, ENC_BIG_ENDIAN); PROTO_ITEM_SET_HIDDEN(item); @@ -1488,7 +1488,7 @@ static void wimaxasncp_dissect_tlv_value( /* hidden item for filtering */ item = proto_tree_add_item( ip_address_mask_list_tree, tlv_info->hf_value, - tvb, offset, length, FALSE); + tvb, offset, length, ENC_NA); PROTO_ITEM_SET_HIDDEN(item); @@ -1522,7 +1522,7 @@ static void wimaxasncp_dissect_tlv_value( proto_tree_add_item( ip_address_mask_tree, tlv_info->hf_ipv6, - tvb, offset, 16, FALSE); + tvb, offset, 16, ENC_NA); /* too long to display ? proto_item_append_text( @@ -1585,7 +1585,7 @@ static void wimaxasncp_dissect_tlv_value( proto_tree_add_item( ip_address_mask_tree, tlv_info->hf_ipv4, - tvb, offset, 4, FALSE); + tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text( item, " - %s (%s)", @@ -1657,7 +1657,7 @@ static void wimaxasncp_dissect_tlv_value( /* Create EAP subtree */ item = proto_tree_add_item(tree, tlv_info->hf_value, tvb, - offset, length, FALSE); + offset, length, ENC_NA); proto_item_set_text(item, "Value"); eap_tree = proto_item_add_subtree(item, ett_wimaxasncp_tlv_eap); @@ -1730,7 +1730,7 @@ static void wimaxasncp_dissect_tlv_value( /* hidden item for filtering */ item = proto_tree_add_item( vsif_tree, tlv_info->hf_value, - tvb, offset, length, FALSE); + tvb, offset, length, ENC_NA); PROTO_ITEM_SET_HIDDEN(item); @@ -1760,7 +1760,7 @@ static void wimaxasncp_dissect_tlv_value( { proto_tree_add_item( vsif_tree, tlv_info->hf_vendor_rest_of_info, - tvb, offset, length - offset, FALSE); + tvb, offset, length - offset, ENC_NA); } } @@ -1879,7 +1879,7 @@ static guint dissect_wimaxasncp_tlvs( tlv_item = proto_tree_add_item( tree, tlv_info->hf_root, - tvb, offset, tree_length, FALSE); + tvb, offset, tree_length, ENC_NA); /* Set label for tlv item */ proto_item_set_text(tlv_item, "TLV: %s", tlv_info->name); |