Wireshark-bugs: [Wireshark-bugs] [Bug 2880] New: Tshark - decimal symbol

Date: Tue, 16 Sep 2008 12:50:58 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2880

           Summary: Tshark - decimal symbol
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: j.snelders@xxxxxxxxxx


Build Information:
$ tshark -v
TShark 1.1.1-SVN-26213 (SVN Rev 26213)

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.18.0, with WinPcap (version unknown), with libz 1.2.3,
without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8, with c-ares
1.5.2,

without ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1 beta
(packet.dll version 4.1.0.902), based on libpcap version 0.9.6 branch.

Built using Microsoft Visual C++ 9.0 build 30729
--
Tshark -z io.stat.
The output is not correct, when in regional settings the "," is defined as a
decimal symbol.
You have to change it to a "."


DECIMAL SYMBOL ","

$ tshark -z io,stat,200,ip.addr==81.33.231.11,ip.addr==193.81.55.180 -q -r
test.pcap
IO Statistics
Interval: 200.000 secs
Column #0:
                |   Column #0
Time            |frames|  bytes
000.000-200.000     736    451657
200.000-400.000    6653   6199474
400.000-600.000    8541   8657734
===================================================================

$ tshark -z io,stat,200 -q -r test.pcap
IO Statistics
Interval: 200.000 secs
Column #0:
                |   Column #0
Time            |frames|  bytes
000.000-200.000     736    451657
200.000-400.000    6653   6199474
400.000-600.000    8541   8657734
===================================================================


DECIMAL SYMBOL "."

$ tshark -z io,stat,200,ip.addr==81.33.231.11,ip.addr==193.81.55.180 -q -r
test.pcap
IO Statistics
Interval: 200.000 secs
Column #0: ip.addr==81.33.231.11
Column #1: ip.addr==193.81.55.180
                |   Column #0    |   Column #1
Time            |frames|  bytes  |frames|  bytes
000.000-200.000       0         0      0         0
200.000-400.000    4583   4687982   1223   1051116
400.000-600.000    8524   8656229      3       168
===================================================================

$ tshark -z io,stat,200 -q -r test.pcap
IO Statistics
Interval: 200.000 secs
Column #0:
                |   Column #0
Time            |frames|  bytes
000.000-200.000     736    451657
200.000-400.000    6653   6199474
400.000-600.000    8541   8657734
===================================================================


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.