Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synthesized dpkt.bgp.BGP.Update objects cannot be encoded #38

Open
GoogleCodeExporter opened this issue May 5, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant