scap1784 / dpkt

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

MetaPacket changes break pcap's LE classes #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The MetaPacket changes in r39 break LEPktHdr and LEFileHdr of pcap.py (and
any other similar classes).  Since the clsdict only contains the
__byte_order__ endianess modifier and inherits the __hdr__ from the base
class, the __hdr_fmt__ won't be set in MetaPacket's __new__.

Patch attached to add a testcase to pcap.py that exercises the issue.

Original issue reported on code.google.com by jon.ober...@gmail.com on 28 Jul 2007 at 6:47

Attachments:

GoogleCodeExporter commented 9 years ago
r39 has been reverted and testcase added to pcap, closing for now.

Original comment by jon.ober...@gmail.com on 2 Aug 2007 at 10:48