Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in writepkt of pcap module #3

Closed
GoogleCodeExporter opened this issue May 5, 2015 · 1 comment
Closed

Bug in writepkt of pcap module #3

GoogleCodeExporter opened this issue May 5, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

replace in line 81 

tv_usec=int((int(ts) - float(ts)) * 1000000.0)

with

tv_usec=int((float(ts) - int(ts)) * 1000000.0)


tnx
Manuel.

Original issue reported on code.google.com by manuel.c...@gmail.com on 20 Mar 2007 at 9:21

@GoogleCodeExporter
Copy link
Author

this is already fixed in the current version of dpkt in Subversion. i will cut 
a new
release soon that incorporates it.

thank you for the bug report!

Original comment by dugsong on 20 Mar 2007 at 9:32

  • Changed state: Fixed

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

No branches or pull requests

1 participant