Update objects can be correctly encoded when decoded from a captured packet.
But it is not possible to create a Update object in code and encode it without
errors.
Until this bug is fixed, a workaround is to add a __hdr_fields__ attribute to
the class, after importing it:
dpkt.bgp.BGP.Update.__hdr_fields__ = ()
Original issue reported on code.google.com by lengletr...@googlemail.com on 5 Aug 2010 at 2:52
Original issue reported on code.google.com by
lengletr...@googlemail.com
on 5 Aug 2010 at 2:52