Skip to content

Wrong stats in no colour mode #145

Description

@sergeevabc

Windows 7 x64, PowerPing 1.3.5

$ powerping.exe nic.ru
Pinging nic.ru [31.177.80.4] with 35 bytes of data [Type=8 Code=0] [TTL=255]:
Reply from: 31.177.80.4:0 seq=1 bytes=63 type=ECHO REPLY TTL=56 time=5,5ms
Reply from: 31.177.80.4:0 seq=2 bytes=63 type=ECHO REPLY TTL=56 time=5,4ms
Reply from: 31.177.80.4:0 seq=3 bytes=63 type=ECHO REPLY TTL=56 time=5,4ms
Reply from: 31.177.80.4:0 seq=4 bytes=63 type=ECHO REPLY TTL=56 time=5,4ms
Reply from: 31.177.80.4:0 seq=5 bytes=63 type=ECHO REPLY TTL=56 time=5,2ms

--- Stats for 31.177.80.4 ---
   General: Sent [ 5 ], Received [ 5 ], Lost [ 0 ] (0% loss)
     Times: Min [ 5,2ms ], Max [ 5,5ms ], Avg [ 5,4ms ]
     Types: Good [ 5 ], Errors [ 0 ], Unknown [ 0 ]
Started at: 2026-05-20 01:08:29 (local time)
   Runtime: 00:00:04.0

$ powerping.exe --nc nic.ru
Pinging nic.ru [31.177.80.4] with 35 bytes of data [Type=8 Code=0] [TTL=255]:
Reply from: 31.177.80.4:0 seq=1 bytes=63 type=ECHO REPLY TTL=56 time=5,9ms
Reply from: 31.177.80.4:0 seq=2 bytes=63 type=ECHO REPLY TTL=56 time=5,9ms
Reply from: 31.177.80.4:0 seq=3 bytes=63 type=ECHO REPLY TTL=56 time=5,2ms
Reply from: 31.177.80.4:0 seq=4 bytes=63 type=ECHO REPLY TTL=56 time=5,5ms
Reply from: 31.177.80.4:0 seq=5 bytes=63 type=ECHO REPLY TTL=56 time=5,3ms

--- Stats for 31.177.80.4 ---
   General: Sent [ 5 ], Received [ 5 ], Lost [ 0 ] (0% loss)
     Times: Min [ 5,2ms ], Max [ 5,9ms ], Avg [ 5,5ms ]
     Types: Good [ 5 ], Errors [ 5 ], Unknown [ 5 ]Started at: 2026-05-20 01:09:08 (local time)
   Runtime: 00:00:04.0

The following part is buggy:
Types: Good [ 5 ], Errors [ 5 ], Unknown [ 5 ]Started at: 2026-05-20 01:09:08 (local time).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions