aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/iseries.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-10 05:38:57 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-10 05:38:57 +0000
commitc981769787504c9fe42e3729ca76c2aae2873094 (patch)
treec3f024d7be8d38bb5c9e4b14c381ea4dface55f4 /wiretap/iseries.c
parente3a80d409244eec574996623902b8265071320e7 (diff)
Fix for bug 1526. Compare to uppercased strings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21361 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/iseries.c')
-rw-r--r--wiretap/iseries.c8
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
{