Wireshark-bugs: [Wireshark-bugs] [Bug 8848] New: capinfos: output value issues (precision & roun
      
      
    
    
        
          | Bug ID | 
          8848
           | 
        
        
          | Summary | 
          capinfos: output value issues (precision & rounding)  for (default_) , -M and -T
           | 
        
        
          | Classification | 
          Unclassified
           | 
        
        
          | Product | 
          Wireshark
           | 
        
        
          | Version | 
          SVN
           | 
        
        
          | Hardware | 
          All
           | 
        
        
          | OS | 
          All
           | 
        
        
          | Status | 
          UNCONFIRMED
           | 
        
        
          | Severity | 
          Normal
           | 
        
        
          | Priority | 
          Low
           | 
        
        
          | Component | 
          Extras
           | 
        
        
          | Assignee | 
          bugzilla-admin@wireshark.org
           | 
        
        
          | Reporter | 
          wmeier@newsguy.com
           | 
        
      
        
        Build Information:
(SVN)
--
See // comments:
$capinfos -uyizx ...   // "Human Readable"
Capture duration:    1087 seconds  // OK ? 
                                   // current source XXX comment
                                   //   suggests: "hh:mm:ss" ?
Data byte rate:      7469 bytes/s
Data bit rate:       59 kbps         // round ?
Average packet size: 267.53 bytes    // no decimals ? round ?
Average packet rate: 27 packets/sec  // should have been be rounded to 28 ??
$capinfos -M -uyizx ... // "Machine Readable"
Capture duration:    1087 seconds    // should show some decimals
Data byte rate:      7469.02 bytes/sec
Data bit rate:       59752.17 bits/sec
Average packet size: 267.53 bytes
Average packet rate: 27.92 packets/sec
$capinfos -T -uyizx ...
...
 1087.311993     7469.02 59752.17        267.53  27.92
 note 6 decimals for capture duration and 2 for the others ...
=======
Should a greater precision be used for "Machine Readable" (and "Table") ?
=======
The above is based upon a fairy quick review. There may be other similar
issues...
         
      
      
      You are receiving this mail because:
      
      
          - You are watching all bug changes.