diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-08-15 19:57:12 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-08-18 11:27:54 +0000 |
commit | 5833d6be14f7c0080d1713927876414ca0982b8d (patch) | |
tree | a4c8fef71bee509fdc7356b38c96b07eb87bc20d /epan/dissectors/packet-corosync-totemnet.c | |
parent | 82d8877b371b71612fb86761e97735e93f3666ff (diff) |
Corosync : fix encoding args (for proto_tree_add_item)
Change-Id: I908046c04df7f7218627330f64040fafbce6739e
Reviewed-on: https://code.wireshark.org/review/3689
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-corosync-totemnet.c')
-rw-r--r-- | epan/dissectors/packet-corosync-totemnet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-corosync-totemnet.c b/epan/dissectors/packet-corosync-totemnet.c index 796aa00648..9924e7d5a1 100644 --- a/epan/dissectors/packet-corosync-totemnet.c +++ b/epan/dissectors/packet-corosync-totemnet.c @@ -92,15 +92,15 @@ dissect_corosync_totemnet_security_header(tvbuff_t *tvb, if (parent_tree) { item = proto_tree_add_item(parent_tree, proto_corosync_totemnet, tvb, 0, - -1, FALSE); + -1, ENC_NA); tree = proto_item_add_subtree(item, ett_corosync_totemnet_security_header); proto_tree_add_item(tree, hf_corosync_totemnet_security_header_hash_digest, - tvb, 0, HMAC_HASH_SIZE, FALSE); + tvb, 0, HMAC_HASH_SIZE, ENC_NA); proto_tree_add_item(tree, hf_corosync_totemnet_security_header_salt, - tvb, HMAC_HASH_SIZE, SALT_SIZE, FALSE); + tvb, HMAC_HASH_SIZE, SALT_SIZE, ENC_NA); if (check_crypt_type) { @@ -109,7 +109,7 @@ dissect_corosync_totemnet_security_header(tvbuff_t *tvb, proto_tree_add_item(tree, hf_corosync_totemnet_security_crypto_type, - tvb, io_len - 1, 1, FALSE); + tvb, io_len - 1, 1, ENC_NA); key_item = proto_tree_add_string(tree, hf_corosync_totemnet_security_crypto_key, tvb, 0, 0, key); |