Fixed precision of timestmaps. #21

Merged
merged 1 commit into from Feb 25, 2013

Conversation

Projects
None yet
2 participants
@tsg
Contributor

tsg commented Feb 24, 2013

The C pcap library uses {sec,usec} for timestamps, where usec are
microsconds. Go's time.Time have nanosecond precisions, so we need
to convert between the two.

Fixed precision of timestmaps.
The C pcap library uses {sec,usec} for timestamps, where usec are
microsconds. Go's time.Time have nanosecond precisions, so we need
to convert between the two.

akrennmair added a commit that referenced this pull request Feb 25, 2013

Merge pull request #21 from tsg/upstream
Fixed precision of timestmaps.

@akrennmair akrennmair merged commit e9a12e1 into akrennmair:master Feb 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment