diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-01-04 17:35:46 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-01-04 17:35:46 +0000 |
commit | 7d8ab07431b6c2f43e64f8ec7723e18d10a67358 (patch) | |
tree | 8c555acccdf89ed85ec364ff7addfa50b81299b0 /epan/dissectors/packet-smb2.c | |
parent | d9d58c34f298a0c3340bfb01976ffe0c7a49c317 (diff) |
Fix some errors found by fix-encoding-args.pl script
svn path=/trunk/; revision=46933
Diffstat (limited to 'epan/dissectors/packet-smb2.c')
-rw-r--r-- | epan/dissectors/packet-smb2.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c index 4754ab39cb..3a91a3be59 100644 --- a/epan/dissectors/packet-smb2.c +++ b/epan/dissectors/packet-smb2.c @@ -323,7 +323,7 @@ static int hf_smb2_transform_msg_size = -1; static int hf_smb2_transform_reserved = -1; static int hf_smb2_encryption_aes128_ccm = -1; static int hf_smb2_transform_enc_alg = -1; -static int hf_smb2_transform_encyrpted_data = -1; +static int hf_smb2_transform_encrypted_data = -1; static gint ett_smb2 = -1; static gint ett_smb2_olb = -1; @@ -6275,11 +6275,11 @@ dissect_smb2_transform_header(packet_info *pinfo _U_, proto_tree *tree, *plain_tvb = NULL; /* signature */ - proto_tree_add_item(tree, hf_smb2_transform_signature, tvb, offset, 16, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_smb2_transform_signature, tvb, offset, 16, ENC_NA); offset += 16; /* nonce */ - proto_tree_add_item(tree, hf_smb2_transform_nonce, tvb, offset, 16, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_smb2_transform_nonce, tvb, offset, 16, ENC_NA); tvb_memcpy(tvb, sti->nonce, offset, 16); offset += 16; @@ -6289,7 +6289,7 @@ dissect_smb2_transform_header(packet_info *pinfo _U_, proto_tree *tree, offset += 4; /* reserved */ - proto_tree_add_item(tree, hf_smb2_transform_reserved, tvb, offset, 2, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_smb2_transform_reserved, tvb, offset, 2, ENC_NA); offset += 2; /* enc algorithm */ @@ -6634,7 +6634,7 @@ dissect_smb2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolea si->status = 0; proto_tree_add_item(header_tree, hf_smb2_channel_sequence, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; - proto_tree_add_item(header_tree, hf_smb2_reserved, tvb, offset, 2, ENC_LITTLE_ENDIAN); + proto_tree_add_item(header_tree, hf_smb2_reserved, tvb, offset, 2, ENC_NA); offset += 2; } @@ -6803,8 +6803,8 @@ dissect_smb2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolea dissect_smb2(plain_tvb, pinfo, enc_tree, FALSE); } else { col_append_fstr(pinfo->cinfo, COL_INFO, "Encrypted SMB3"); - proto_tree_add_item(enc_tree, hf_smb2_transform_encyrpted_data, - enc_tvb, 0, sti->size, ENC_LITTLE_ENDIAN); + proto_tree_add_item(enc_tree, hf_smb2_transform_encrypted_data, + enc_tvb, 0, sti->size, ENC_NA); } if (tvb_reported_length_remaining(tvb, offset) > 0) { @@ -7896,7 +7896,7 @@ proto_register_smb2(void) { "SMB2_ENCRYPTION_AES128_CCM", "smb2.header.transform.enc_aes128_ccm", FT_BOOLEAN, 16, NULL, ENC_ALG_aes128_ccm, NULL, HFILL }}, - { &hf_smb2_transform_encyrpted_data, + { &hf_smb2_transform_encrypted_data, { "Data", "smb2.header.transform.enc_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, |