Skip to content

pcapreport time formatting fixes#41

Open
davecraig wants to merge 2 commits intokynesim:masterfrom
davecraig:master
Open

pcapreport time formatting fixes#41
davecraig wants to merge 2 commits intokynesim:masterfrom
davecraig:master

Conversation

@davecraig
Copy link
Copy Markdown

A couple of fixes to the PCR timing output when using the -t option. Both relate to using %d.%d formatting for the time. The first being that immediate zeroes after the decimal point weren't being output, and the second that the relative time for a packet was being output as if in seconds, when the value used was in 90kHz clock.

Any time between x.0 seconds and x.1 seconds was being displayed
incorrectly as the leading zero/zeroes after the decimal point
weren't being output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants