From 8ec5906fd64260d5a59034e0a0e49bdd78553f5c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 13 Feb 2021 20:23:08 -0800 Subject: [PATCH] iseries: report Unicode files as Unicode rather than ASCII. While we're at it, that's "Unicode", not "UNICODE" - it's not an initialism, and isn't all-caps. --- wiretap/file_access.c | 2 +- wiretap/iseries.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 7076c52de7..1b0b897b75 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -1343,7 +1343,7 @@ static const struct file_type_subtype_info dump_open_table_base[] = { NULL, NULL, NULL }, /* WTAP_FILE_TYPE_SUBTYPE_ISERIES_UNICODE */ - { "IBM iSeries comm. trace (UNICODE)", "iseries_unicode", "txt", NULL, + { "IBM iSeries comm. trace (Unicode)", "iseries_unicode", "txt", NULL, FALSE, FALSE, 0, NULL, NULL, NULL }, diff --git a/wiretap/iseries.c b/wiretap/iseries.c index 38f35b9b90..23b0eb1957 100644 --- a/wiretap/iseries.c +++ b/wiretap/iseries.c @@ -240,7 +240,7 @@ iseries_open (wtap * wth, int *err, gchar ** err_info) } wth->file_encap = WTAP_ENCAP_ETHERNET; - wth->file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_ISERIES; + wth->file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_ISERIES_UNICODE; wth->snapshot_length = 0; wth->subtype_read = iseries_read; wth->subtype_seek_read = iseries_seek_read;