diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-04-10 05:38:57 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-04-10 05:38:57 +0000 |
commit | c150904c6a4495b84b081b3521b194abdca5409b (patch) | |
tree | c3f024d7be8d38bb5c9e4b14c381ea4dface55f4 /wiretap | |
parent | 2fd09672deb654edfad753b046e70a732c66fea8 (diff) |
Fix for bug 1526. Compare to uppercased strings.
svn path=/trunk/; revision=21361
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/iseries.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/wiretap/iseries.c b/wiretap/iseries.c index 19554e3822..9b98fe5341 100644 --- a/wiretap/iseries.c +++ b/wiretap/iseries.c @@ -275,8 +275,9 @@ iseries_check_file_type (wtap * wth, int *err, int format) { iseries_UNICODE_to_ASCII (buf, ISERIES_LINE_LENGTH); } + g_strup(buf); num_items_scanned = sscanf (buf, - " Object protocol . . . . . . : %8s", + " OBJECT PROTOCOL . . . . . . : %8s", protocol); if (num_items_scanned == 1) { @@ -288,7 +289,7 @@ iseries_check_file_type (wtap * wth, int *err, int format) * Determine if the data has been formatted or not */ num_items_scanned = sscanf (buf, - " Format TCP/IP data only . . : %1s", + " FORMAT TCP/IP DATA ONLY . . : %1s", tcpformat); if (num_items_scanned == 1) { @@ -307,12 +308,13 @@ iseries_check_file_type (wtap * wth, int *err, int format) * extract it here and store for all packets to access */ num_items_scanned = sscanf (buf, - " Start date/Time . . . . . . : %8s", + " START DATE/TIME . . . . . . : %8s", sdate); if (num_items_scanned == 1) { wth->capture.iseries->sdate = sdate; } + } else { |