dpkt icon indicating copy to clipboard operation
dpkt copied to clipboard

synthesized dpkt.bgp.BGP.Update.Attribute.ASPath objects cannot be encoded

Open kbandla opened this issue 9 years ago • 0 comments

From [email protected] on August 04, 2010 22:53:19

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: http://code.google.com/p/dpkt/issues/detail?id=39

kbandla avatar Jun 04 '15 01:06 kbandla