ASPath objects can be correctly encoded when decoded from a captured packet.
But it is not possible to create a ASPath 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.Attribute.ASPath.__hdr_fields__ = ()
Original issue reported on code.google.com by lengletr...@googlemail.com on 5 Aug 2010 at 2:53
Original issue reported on code.google.com by
lengletr...@googlemail.com
on 5 Aug 2010 at 2:53