aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fortinet-sso.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-fortinet-sso.c')
-rw-r--r--epan/dissectors/packet-fortinet-sso.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-fortinet-sso.c b/epan/dissectors/packet-fortinet-sso.c
index 08df1fad28..13696e7ac1 100644
--- a/epan/dissectors/packet-fortinet-sso.c
+++ b/epan/dissectors/packet-fortinet-sso.c
@@ -73,37 +73,37 @@ dissect_fortinet_sso(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
offset += 2;
string = tvb_get_stringz_enc(pinfo->pool, tvb, offset, &string_length, ENC_ASCII);
- proto_tree_add_item(fsso_tree, hf_fsso_string, tvb, offset, string_length, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(fsso_tree, hf_fsso_string, tvb, offset, string_length, ENC_ASCII);
col_set_str(pinfo->cinfo, COL_INFO, string);
if(client_ip == 0xFFFFFFFF) { //if client_ip equal 255.255.255.255 (0xFFFFFFFF) is KeepAlive packet
/* Domain / KeepAlive (User) / Version */
len = tvb_find_guint8(tvb, offset, string_length, '/') - offset;
- proto_tree_add_item(fsso_tree, hf_fsso_domain, tvb, offset, len, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(fsso_tree, hf_fsso_domain, tvb, offset, len, ENC_ASCII);
offset += (len + 1);
string_length -= (len + 1);
len = tvb_find_guint8(tvb, offset, string_length, '/') - offset;
- proto_tree_add_item(fsso_tree, hf_fsso_user, tvb, offset, len, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(fsso_tree, hf_fsso_user, tvb, offset, len, ENC_ASCII);
offset += (len + 1);
string_length -= (len + 1);
- proto_tree_add_item(fsso_tree, hf_fsso_version, tvb, offset, string_length, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(fsso_tree, hf_fsso_version, tvb, offset, string_length, ENC_ASCII);
offset += (string_length);
} else {
/* Host / Domain / User */
len = tvb_find_guint8(tvb, offset, string_length, '/') - offset;
- proto_tree_add_item(fsso_tree, hf_fsso_host, tvb, offset, len, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(fsso_tree, hf_fsso_host, tvb, offset, len, ENC_ASCII);
offset += (len + 1);
string_length -= (len + 1);
len = tvb_find_guint8(tvb, offset, string_length, '/') - offset;
- proto_tree_add_item(fsso_tree, hf_fsso_domain, tvb, offset, len, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(fsso_tree, hf_fsso_domain, tvb, offset, len, ENC_ASCII);
offset += (len + 1);
string_length -= (len + 1);
- proto_tree_add_item(fsso_tree, hf_fsso_user, tvb, offset, string_length, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(fsso_tree, hf_fsso_user, tvb, offset, string_length, ENC_ASCII);
offset += (string_length);
}