Skip to content

Conversation

@tiagotschmidt
Copy link

@tiagotschmidt tiagotschmidt commented Nov 26, 2025

Greetings gopacket team,
this is my first pull request to gopacket.

The PR/commit/contribution is fairly simple: the Resolution() getter for the Handle type was incorrectly returning the timestamp precision for any PCAP file. This PR/commit/contribution fixes the bug, while also providing a unit test that checks it.

I've followed your programming and contribution guidelines as much as possible.
Waiting for your feedback.

This commit fixes the comparison between the handler nanoSecsFactor. Now, the nanoSecsFactor logic behaves as in the `OpenOffline` function.

Add a basic unit test for verification.
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.

1 participant