scap1784 / dpkt

Automatically exported from code.google.com/p/dpkt
Other
0 stars 0 forks source link

pcap.py does not implement next() -- breaks in dispatch if cnt > 0 #78

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. instantiate a pcap reader
2. call dispatch with cnt > 0
3. exception that next() is not implemented

What is the expected output? What do you see instead?
next() method should be implemented

I attached a patch that adds the next() method. If no one sees any issues with 
it, I'll commit it to the repository

Original issue reported on code.google.com by timur.al...@gmail.com on 12 Oct 2011 at 4:39

Attachments: