aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee80211.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2022-11-07 23:09:07 +0100
committerUli Heilmeier <uh@heilmeier.eu>2022-11-09 11:41:21 +0000
commit7f2006e74447cb91ca1cc9e3678bce3fccc47eb7 (patch)
tree98ec49ed86925b46aecff3774d727080efc85d00 /epan/dissectors/packet-ieee80211.c
parent085cbd27e160fa4c7c231b643612ee78d53510eb (diff)
ieee80211: Use FT_STRING for HS 2.0 OSU NAI
Fix 18610
Diffstat (limited to 'epan/dissectors/packet-ieee80211.c')
-rw-r--r--epan/dissectors/packet-ieee80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 520131a94f..f765b23124 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -10086,7 +10086,7 @@ dissect_hs20_osu_provider(proto_tree *tree, tvbuff_t *tvb,
if (osu_nai_len > 0) {
proto_tree_add_item(prov_tree, hf_ieee80211_hs20_osu_nai, tvb, offset,
- osu_nai_len, ENC_NA);
+ osu_nai_len, ENC_ASCII);
offset += osu_nai_len;
}
@@ -41495,7 +41495,7 @@ proto_register_ieee80211(void)
{&hf_ieee80211_hs20_osu_nai,
{"OSU_NAI", "wlan.hs20.osu_nai",
- FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
+ FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
{&hf_ieee80211_hs20_osu_service_desc_len,
{"OSU Service Description Length", "wlan.hs20.osu_service_desc_len",